mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
additional fix to issue #2948
This commit is contained in:
parent
4cbe044439
commit
b554895715
@ -1268,6 +1268,9 @@ void processInputBuffer(client *c) {
|
|||||||
/* Only reset the client when the command was executed. */
|
/* Only reset the client when the command was executed. */
|
||||||
if (processCommand(c) == C_OK)
|
if (processCommand(c) == C_OK)
|
||||||
resetClient(c);
|
resetClient(c);
|
||||||
|
/* freeMemoryIfNeeded may flush slave output buffers. This may result
|
||||||
|
* into a slave, that may be the active client, to be freed. */
|
||||||
|
if (server.current_client == NULL) break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
server.current_client = NULL;
|
server.current_client = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user