diff --git a/cheevos.c b/cheevos.c index d53c45ba93..14b8c0daa3 100644 --- a/cheevos.c +++ b/cheevos.c @@ -1984,6 +1984,8 @@ static unsigned cheevos_find_game_id_nes( { if (file) filestream_close(file); + if (data) + free(data); return 0; }