Fix a leak in the benchmark

Former-commit-id: aa5b27b040c69f0c7d166203bed7110bc8c0bc87
This commit is contained in:
John Sully 2021-05-30 02:55:39 +00:00
parent e5691036d9
commit 6331caca6a

View File

@ -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);