diff options
Diffstat (limited to 'src/fr-command-tar.c')
-rw-r--r-- | src/fr-command-tar.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c index 50aae1a..6f7943f 100644 --- a/src/fr-command-tar.c +++ b/src/fr-command-tar.c @@ -140,8 +140,11 @@ process_line (char *line, } g_free (name); name = g_filename_from_utf8 (fdata->original_path, -1, NULL, NULL, NULL); - if (name) - fdata->original_path = name; + if (name) { + fdata->original_path = g_strdup (name); + fdata->free_original_path = TRUE; + } + g_free (name); if (fields[1] != NULL) fdata->link = g_strdup (fields[1]); |