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
585884da
Commit
585884da
authored
Dec 21, 2014
by
Alon Diamant
Committed by
antirez
Dec 22, 2014
Browse files
Fixed memory leaks in rdbSaveToSlavesSockets()
parent
ca3dd5e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/rdb.c
View file @
585884da
...
@@ -1491,7 +1491,9 @@ int rdbSaveToSlavesSockets(void) {
...
@@ -1491,7 +1491,9 @@ int rdbSaveToSlavesSockets(void) {
{
{
retval
=
REDIS_ERR
;
retval
=
REDIS_ERR
;
}
}
zfree
(
msg
);
}
}
zfree
(
clientids
);
exitFromChild
((
retval
==
REDIS_OK
)
?
0
:
1
);
exitFromChild
((
retval
==
REDIS_OK
)
?
0
:
1
);
}
else
{
}
else
{
/* Parent */
/* Parent */
...
...
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