diff options
Diffstat (limited to 'backend/comics')
-rw-r--r-- | backend/comics/comics-document.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c index a135a743..bec8582f 100644 --- a/backend/comics/comics-document.c +++ b/backend/comics/comics-document.c @@ -957,7 +957,11 @@ extract_argv (EvDocument *document, gint page) comics_document->extract_command, quoted_archive, quoted_filename); + g_free (quoted_archive); + g_free (quoted_filename); + g_shell_parse_argv (command_line, NULL, &argv, &err); + g_free (command_line); if (err) { g_warning (_("Error %s"), err->message); @@ -965,8 +969,5 @@ extract_argv (EvDocument *document, gint page) return NULL; } - g_free (command_line); - g_free (quoted_archive); - g_free (quoted_filename); return argv; } |