mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
playlist: free filestream before early returning
This commit is contained in:
parent
79f8b6281f
commit
e81ad553ad
@ -834,7 +834,10 @@ static bool playlist_read_file(
|
||||
|
||||
/* Empty playlist file */
|
||||
if (bytes_read == 0)
|
||||
{
|
||||
filestream_close(file);
|
||||
return true;
|
||||
}
|
||||
|
||||
filestream_seek(file, 0, SEEK_SET);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user