Skip to content

Commit

Permalink
Remove double free in keydb-benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnSully committed Dec 23, 2021
1 parent e070651 commit b4528b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/redis-benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,6 @@ int main(int argc, const char **argv) {
} while(config.loop);
zfree(data);

zfree(data);
if (config.redis_config != NULL) freeRedisConfig(config.redis_config);

return 0;
Expand Down

0 comments on commit b4528b7

Please sign in to comment.