]> git.saurik.com Git - redis.git/blobdiff - src/redis-benchmark.c
Write RDB magic using a REDIS_RDB_VERSION define that is defined inside rdb.h
[redis.git] / src / redis-benchmark.c
index 36f27540fe6e0e685701a4edad772f685e322466..19eb49152c749a00774dda1a3a4d9d5681024865 100644 (file)
@@ -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--;