Fixed memory leaks in rdbSaveToSlavesSockets()

This commit is contained in:
Alon Diamant 2014-12-21 15:10:06 +02:00
parent d74a5a0880
commit 14b04c062e

View File

@ -1491,7 +1491,9 @@ int rdbSaveToSlavesSockets(void) {
{
retval = REDIS_ERR;
}
zfree(msg);
}
zfree(clientids);
exitFromChild((retval == REDIS_OK) ? 0 : 1);
} else {
/* Parent */