git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1febd
)
Coverity: fix memory leak in guestfish.
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 23 Aug 2011 18:26:35 +0000
(19:26 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sun, 28 Aug 2011 08:19:45 +0000
(09:19 +0100)
(cherry picked from commit
c38cb92ec478c4dca83e4d38963720f463d52314
)
fish/fish.c
patch
|
blob
|
history
diff --git
a/fish/fish.c
b/fish/fish.c
index
c64b4be
..
575ee9c
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-1345,9
+1345,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;
}