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
1 changed files with 2 additions and 2 deletions

View File

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