Merge branch 'keydbpro' into PRO_RELEASE_6
Former-commit-id: 9bc0cb29f1c8dc8258603ea1c353fe495c1228ae
This commit is contained in:
commit
d12e90823c
@ -1062,6 +1062,8 @@ void scanGenericCommand(client *c, robj_roptr o, unsigned long cursor) {
|
|||||||
listNode *next = ln->next;
|
listNode *next = ln->next;
|
||||||
if (filterKey((robj*)listNodeValue(ln), patCopy, patlen))
|
if (filterKey((robj*)listNodeValue(ln), patCopy, patlen))
|
||||||
{
|
{
|
||||||
|
robj *kobj = (robj*)listNodeValue(ln);
|
||||||
|
decrRefCount(kobj);
|
||||||
listDelNode(keys, ln);
|
listDelNode(keys, ln);
|
||||||
}
|
}
|
||||||
ln = next;
|
ln = next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user