]> git.saurik.com Git - redis.git/blobdiff - src/redis-cli.c
new ae.c API to get current events by file descriptor.
[redis.git] / src / redis-cli.c
index 1e9f83174fb2f375daed33c38d84f39329448d1f..cbaac3f95e774f6504308ae7d5e3076a2ad732c3 100644 (file)
@@ -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 ||