diff --git a/src/t_list.c b/src/t_list.c index b2becade..479fce63 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -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;