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 */
|
/* Empty playlist file */
|
||||||
if (bytes_read == 0)
|
if (bytes_read == 0)
|
||||||
|
{
|
||||||
|
filestream_close(file);
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
filestream_seek(file, 0, SEEK_SET);
|
filestream_seek(file, 0, SEEK_SET);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue