diff --git a/src/redis-benchmark.cpp b/src/redis-benchmark.cpp index d243fe6ca..bde103423 100644 --- a/src/redis-benchmark.cpp +++ b/src/redis-benchmark.cpp @@ -1981,6 +1981,7 @@ int main(int argc, const char **argv) { if (!config.csv) printf("\n"); } while(config.loop); + zfree(data); if (config.redis_config != NULL) freeRedisConfig(config.redis_config);