mirror of
https://github.com/fluencelabs/redis
synced 2025-07-30 16:01:57 +00:00
Fixed a memory leak in redis-cli.c
This commit is contained in:
@@ -676,6 +676,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 ||
|
||||
|
Reference in New Issue
Block a user