Commit 14b04c06 authored by Alon Diamant's avatar Alon Diamant
Browse files

Fixed memory leaks in rdbSaveToSlavesSockets()

parent d74a5a08
......@@ -1491,7 +1491,9 @@ int rdbSaveToSlavesSockets(void) {
{
retval = REDIS_ERR;
}
zfree(msg);
}
zfree(clientids);
exitFromChild((retval == REDIS_OK) ? 0 : 1);
} else {
/* Parent */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment