Fixed memory leaks in rdbSaveToSlavesSockets()