mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Coverity: fix memory leak in guestfish.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user