mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Fixed a redis-cli bug, was using free instead of zfree call
This commit is contained in:
parent
8f63ddca00
commit
8ff6a48b99
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user