mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Merge pull request #7371 from oranagra/fix_disconnectSlaves
fix disconnectSlaves, to try to free each slave.
This commit is contained in:
commit
cfffda83fb
@ -1019,7 +1019,6 @@ void disconnectSlaves(void) {
|
||||
listNode *ln;
|
||||
listRewind(server.slaves,&li);
|
||||
while((ln = listNext(&li))) {
|
||||
listNode *ln = listFirst(server.slaves);
|
||||
freeClient((client*)ln->value);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user