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…
Reference in New Issue