diff options
Diffstat (limited to 'ines2.c')
| -rw-r--r-- | ines2.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |
