mirror of
https://github.com/fluencelabs/redis
synced 2025-06-21 04:51:32 +00:00
Fixed a memory leak in redis-cli.c
This commit is contained in:
@ -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 ||
|
||||
|
Reference in New Issue
Block a user