(cheevos.c) Prevent memory leak

This commit is contained in:
twinaphex 2016-09-22 20:59:10 +02:00
parent 0d49ed5877
commit fb63786297

View File

@ -1984,6 +1984,8 @@ static unsigned cheevos_find_game_id_nes(
{
if (file)
filestream_close(file);
if (data)
free(data);
return 0;
}