summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/redis-benchmark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c
index f0dba2d2a..ebecfe01e 100644
--- a/src/redis-benchmark.c
+++ b/src/redis-benchmark.c
@@ -124,6 +124,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);