RESTORE ABSTTL skip expired keys - leak (#7511)

(cherry picked from commit 6a814501448c5673d05eb2cfe4fe650883da8f0e)
This commit is contained in:
Oran Agra 2020-07-13 16:40:19 +03:00
parent aea4db2f5a
commit c4b428a388

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