From a8e0c141b0184d629504b9f0ee8dbc4fefb90934 Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Sat, 24 May 2025 15:45:54 +0200 Subject: 3011fps --- ines2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ines2.c') diff --git a/ines2.c b/ines2.c index dc0e57d..db28090 100644 --- a/ines2.c +++ b/ines2.c @@ -106,6 +106,7 @@ static int ines2_load(struct nes_state *state, const char *path) { } if(!data || size < INES_HEADER_SIZE) { + free(data); return -1; } -- cgit v1.2.3