Commit 6c0f50ef authored by Max Kellermann's avatar Max Kellermann

archive/bz2: removed NULL check before g_free()

g_free(NULL) is allowed.
parent 2234d491
......@@ -140,7 +140,7 @@ static void
bz2_close(struct archive_file *file)
{
bz2_context *context = (bz2_context *) file;
if (context->name)
g_free(context->name);
input_stream_close(&context->istream);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment