summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fish/fish.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fish/fish.c b/fish/fish.c
index c132911f..1bc84471 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -1370,9 +1370,8 @@ parse_string_list (const char *str)
/* We've reached the end of a token. We shouldn't still be in quotes. */
if (in_quote) {
fprintf (stderr, _("Runaway quote in string \"%s\"\n"), str);
-
free_n_strings (argv, argv_len);
-
+ free (tok);
return NULL;
}