Merge branch 'keydbpro' into PRO_RELEASE_6

Former-commit-id: 9bc0cb29f1c8dc8258603ea1c353fe495c1228ae
This commit is contained in:
John Sully 2020-07-16 22:42:48 +00:00
commit d12e90823c

View File

@ -1062,6 +1062,8 @@ void scanGenericCommand(client *c, robj_roptr o, unsigned long cursor) {
listNode *next = ln->next;
if (filterKey((robj*)listNodeValue(ln), patCopy, patlen))
{
robj *kobj = (robj*)listNodeValue(ln);
decrRefCount(kobj);
listDelNode(keys, ln);
}
ln = next;