mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
redis-benchmark: fix memory leak introduced by 346256f
This commit is contained in:
@@ -125,6 +125,7 @@ static void freeClient(client c) {
|
||||
aeDeleteFileEvent(config.el,c->context->fd,AE_READABLE);
|
||||
redisFree(c->context);
|
||||
sdsfree(c->obuf);
|
||||
zfree(c->randptr);
|
||||
zfree(c);
|
||||
config.liveclients--;
|
||||
ln = listSearchKey(config.clients,c);
|
||||
|
||||
Reference in New Issue
Block a user