Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6a1275bc
You need to sign in or sign up before continuing.
Commit
6a1275bc
authored
May 27, 2011
by
antirez
Browse files
Removed a leak in the BRPOPLPUSH unrelated to issue 561
parent
3769dbd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/t_list.c
View file @
6a1275bc
...
@@ -826,6 +826,7 @@ void unblockClientWaitingData(redisClient *c) {
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment