Commit 8ff6a48b authored by antirez's avatar antirez
Browse files

Fixed a redis-cli bug, was using free instead of zfree call

parent 8f63ddca
......@@ -568,7 +568,7 @@ static void repl() {
/* Free the argument vector */
for (j = 0; j < argc; j++)
sdsfree(argv[j]);
free(argv);
zfree(argv);
}
/* linenoise() returns malloc-ed lines like readline() */
free(line);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment