mirror of
https://github.com/fluencelabs/redis
synced 2025-06-20 12:36:31 +00:00
Removed a leak in the BRPOPLPUSH unrelated to issue 561
This commit is contained in:
@ -826,6 +826,7 @@ void unblockClientWaitingData(redisClient *c) {
|
|||||||
/* Cleanup the client structure */
|
/* Cleanup the client structure */
|
||||||
zfree(c->bpop.keys);
|
zfree(c->bpop.keys);
|
||||||
c->bpop.keys = NULL;
|
c->bpop.keys = NULL;
|
||||||
|
if (c->bpop.target) decrRefCount(c->bpop.target);
|
||||||
c->bpop.target = NULL;
|
c->bpop.target = NULL;
|
||||||
c->flags &= ~REDIS_BLOCKED;
|
c->flags &= ~REDIS_BLOCKED;
|
||||||
c->flags |= REDIS_UNBLOCKED;
|
c->flags |= REDIS_UNBLOCKED;
|
||||||
|
Reference in New Issue
Block a user