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 e5227aab89
commit 6a81450144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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