archive/bz2: removed NULL check before g_free()
g_free(NULL) is allowed.
This commit is contained in:
parent
2234d491b7
commit
6c0f50efb5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user