mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Fixed a memory leak in redis-cli.c
This commit is contained in:
parent
e1cf460cf1
commit
db6a2e7f78
@ -716,6 +716,7 @@ static void repl() {
|
||||
|
||||
if (argv == NULL) {
|
||||
printf("Invalid argument(s)\n");
|
||||
free(line);
|
||||
continue;
|
||||
} else if (argc > 0) {
|
||||
if (strcasecmp(argv[0],"quit") == 0 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user