X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/f6da155bde4c187325deee8b40fe41d45f40468d..f26761aa1052d838be4c424929c41d012511b45c:/src/redis-benchmark.c diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index 36f27540..19eb4915 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -196,6 +196,8 @@ static void readHandler(aeEventLoop *el, int fd, void *privdata, int mask) { exit(1); } + freeReplyObject(reply); + if (config.requests_finished < config.requests) config.latency[config.requests_finished++] = c->latency; c->pending--;