Take out this call to prevent another memory leak

This commit is contained in:
twinaphex 2016-05-26 17:34:44 +02:00
parent 4f98cf05f4
commit e297da1b71

View File

@ -183,13 +183,11 @@ static int detect_ps1_game_sub(const char *track_path,
return 0; return 0;
if (!strncasecmp((const char*)(tmp + 33), "SYSTEM.CNF;1", 12)) if (!strncasecmp((const char*)(tmp + 33), "SYSTEM.CNF;1", 12))
{
filestream_close(fp);
break; break;
}
tmp += *tmp; tmp += *tmp;
} }
if(tmp >= (buffer + 2048 * 2)) if(tmp >= (buffer + 2048 * 2))
{ {
filestream_close(fp); filestream_close(fp);