RESTORE ABSTTL skip expired keys - leak (#7511)

(cherry picked from commit c10eabeeca9b79a6583ac2db75e7b1aed6c4dceb)
This commit is contained in:
Oran Agra 2020-07-13 16:40:19 +03:00
parent dde79afbf7
commit 90b6ed7a2c

View File

@ -5030,6 +5030,7 @@ void restoreCommand(client *c) {
notifyKeyspaceEvent(NOTIFY_GENERIC,"del",key,c->db->id);
server.dirty++;
}
decrRefCount(obj);
addReply(c, shared.ok);
return;
}