提交 8ff6a48b 编写于 作者: A antirez

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册