mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
This part of the code looked suspicious and was leaking memory
for one codepath
This commit is contained in:
parent
3a4af3149b
commit
74b3b505c9
@ -342,15 +342,13 @@ end:
|
||||
{
|
||||
#ifdef HAVE_7ZIP
|
||||
if (handle->backend != &sevenzip_backend)
|
||||
#endif
|
||||
{
|
||||
handle->backend->stream_free(handle->stream);
|
||||
|
||||
if (handle->data)
|
||||
free(handle->data);
|
||||
}
|
||||
#else
|
||||
handle->backend->stream_free(handle->stream);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user