archive/bz2: removed NULL check before g_free()

g_free(NULL) is allowed.
This commit is contained in:
Max Kellermann 2009-12-15 19:42:54 +01:00
parent 2234d491b7
commit 6c0f50efb5

View File

@ -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);