mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Do 'free' on handle->stream in case of an error in file_archive_inflate_data_to_file_init
This commit is contained in:
parent
cc69cfe6a7
commit
5c2acea38c
@ -301,6 +301,7 @@ bool file_archive_inflate_data_to_file_init(
|
||||
error:
|
||||
if (handle->stream)
|
||||
zlib_stream_free(handle->stream);
|
||||
free(handle->stream);
|
||||
if (handle->data)
|
||||
free(handle->data);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user