mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04: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