diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/input/archive_input_plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/archive_input_plugin.c b/src/input/archive_input_plugin.c index 4a038b9e2..e608dd4a6 100644 --- a/src/input/archive_input_plugin.c +++ b/src/input/archive_input_plugin.c @@ -63,8 +63,10 @@ input_archive_open(const char *pathname, } file = archive_file_open(arplug, archive, error_r); - if (file == NULL) + if (file == NULL) { + g_free(pname); return NULL; + } //setup fileops is = archive_file_open_stream(file, filename, mutex, cond, |