Commit 8cc66985 authored by Oran Agra's avatar Oran Agra
Browse files

RESTORE ABSTTL skip expired keys - leak (#7511)


(cherry picked from commit 6a814501)
(cherry picked from commit c4b428a3)
parent e9c9e4c2
...@@ -4960,6 +4960,7 @@ void restoreCommand(client *c) { ...@@ -4960,6 +4960,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