mirror of
https://github.com/fluencelabs/redis
synced 2025-05-04 15:02:13 +00:00
Removed a leak in the BRPOPLPUSH unrelated to issue 561
This commit is contained in:
parent
3769dbd722
commit
6a1275bcab
@ -826,6 +826,7 @@ void unblockClientWaitingData(redisClient *c) {
|
||||
/* Cleanup the client structure */
|
||||
zfree(c->bpop.keys);
|
||||
c->bpop.keys = NULL;
|
||||
if (c->bpop.target) decrRefCount(c->bpop.target);
|
||||
c->bpop.target = NULL;
|
||||
c->flags &= ~REDIS_BLOCKED;
|
||||
c->flags |= REDIS_UNBLOCKED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user