aboutsummaryrefslogtreecommitdiff
path: root/src/archive
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive')
-rw-r--r--src/archive/bz2_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/bz2_plugin.c b/src/archive/bz2_plugin.c
index 4db68f48..78f13400 100644
--- a/src/archive/bz2_plugin.c
+++ b/src/archive/bz2_plugin.c
@@ -140,8 +140,8 @@ static void
bz2_close(struct archive_file *file)
{
bz2_context *context = (bz2_context *) file;
- if (context->name)
- g_free(context->name);
+
+ g_free(context->name);
input_stream_close(&context->istream);
g_free(context);