mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Fix filestream memory leak
This commit is contained in:
parent
67ab87669f
commit
927ed42498
@ -534,6 +534,9 @@ int filestream_close(RFILE *stream)
|
||||
if (!stream)
|
||||
goto error;
|
||||
|
||||
if (stream->ext)
|
||||
free(stream->ext);
|
||||
|
||||
#if defined(PSP)
|
||||
if (stream->fd > 0)
|
||||
sceIoClose(stream->fd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user