Unverified Commit 6a814501 authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

RESTORE ABSTTL skip expired keys - leak (#7511)

parent e5227aab
...@@ -5030,6 +5030,7 @@ void restoreCommand(client *c) { ...@@ -5030,6 +5030,7 @@ void restoreCommand(client *c) {
notifyKeyspaceEvent(NOTIFY_GENERIC,"del",key,c->db->id); notifyKeyspaceEvent(NOTIFY_GENERIC,"del",key,c->db->id);
server.dirty++; server.dirty++;
} }
decrRefCount(obj);
addReply(c, shared.ok); addReply(c, shared.ok);
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment