RESTORE ABSTTL skip expired keys - leak (#7511)

This commit is contained in:
Oran Agra 2020-07-13 16:40:19 +03:00 committed by GitHub
parent 663e637da8
commit c10eabeeca

View File

@ -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;
} }