mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-30 16:14:11 +00:00
Fix warning 'dereference after null'
This commit is contained in:
parent
4137d33e46
commit
dac5b1aabd
@ -346,10 +346,16 @@ static int file_archive_decompress_data_to_file(
|
||||
}
|
||||
|
||||
end:
|
||||
handle->backend->stream_free(handle->stream);
|
||||
|
||||
if (handle && handle->data)
|
||||
free(handle->data);
|
||||
if (handle)
|
||||
{
|
||||
if (handle->backend)
|
||||
handle->backend->stream_free(handle->stream);
|
||||
|
||||
if (handle->data)
|
||||
free(handle->data);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user