Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a5b66da8
Commit
a5b66da8
authored
Apr 10, 2017
by
antirez
Browse files
Make more obvious why there was issue #3843.
parent
f60d6f09
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/module.c
View file @
a5b66da8
...
@@ -3236,6 +3236,9 @@ void moduleHandleBlockedClients(void) {
...
@@ -3236,6 +3236,9 @@ void moduleHandleBlockedClients(void) {
if
(
bc
->
privdata
&&
bc
->
free_privdata
)
if
(
bc
->
privdata
&&
bc
->
free_privdata
)
bc
->
free_privdata
(
bc
->
privdata
);
bc
->
free_privdata
(
bc
->
privdata
);
if
(
c
!=
NULL
)
unblockClient
(
c
);
if
(
c
!=
NULL
)
unblockClient
(
c
);
/* Free 'bc' only after unblocking the client, since it is
* referenced in the client blocking context, and must be valid
* when calling unblockClient(). */
zfree
(
bc
);
zfree
(
bc
);
/* Lock again before to iterate the loop. */
/* Lock again before to iterate the loop. */
...
...
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