projects
/
redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Redis test: handle inability to start the server in a better way.
[redis.git]
/
src
/
redis-cli.c
diff --git
a/src/redis-cli.c
b/src/redis-cli.c
index 1e9f83174fb2f375daed33c38d84f39329448d1f..cbaac3f95e774f6504308ae7d5e3076a2ad732c3 100644
(file)
--- a/
src/redis-cli.c
+++ b/
src/redis-cli.c
@@
-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 ||