From 1763bcfa7a637d651bcfdfe4322697eb9733aa51 Mon Sep 17 00:00:00 2001 From: ToadKing Date: Sat, 19 Jan 2013 14:26:55 -0500 Subject: [PATCH] (GX) fix dangling file handle --- frontend/platform/platform_gx_exec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/platform/platform_gx_exec.c b/frontend/platform/platform_gx_exec.c index fa88e35375..0985279564 100644 --- a/frontend/platform/platform_gx_exec.c +++ b/frontend/platform/platform_gx_exec.c @@ -81,6 +81,7 @@ static void rarch_console_exec(const char *path) if (!dol) { RARCH_ERR("Could not execute DOL file %s.\n", path); + fclose(fp); return; }