From dacade0113b342db8c2ab50a88f4136948e1e318 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Thu, 14 Nov 2013 17:22:20 +0100 Subject: [PATCH] Fix 2MB leak on core unload. --- libretro/libretro.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index 50ed2ed2..39c3d555 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -585,6 +585,8 @@ void retro_deinit() Memory.Deinit(); S9xGraphicsDeinit(); S9xUnmapAllControls(); + + free(GFX.Screen); }