playlist: Fix a potential memory leak.

This commit is contained in:
Lioncash 2014-09-04 23:06:46 -04:00
parent 252e04c33b
commit b23bd75195

View File

@ -195,6 +195,10 @@ static bool content_playlist_read_file(
if (!file || !playlist)
{
RARCH_ERR("Couldn't read content playlist file: %s.\n", path);
if (file)
fclose(file);
return true;
}