From 1c4f46e8e5e691de1af6c20ab750cccb5c8e6c12 Mon Sep 17 00:00:00 2001 From: dimok321 <15055714+dimok789@users.noreply.github.com> Date: Sun, 26 Sep 2010 09:39:55 +0000 Subject: [PATCH] *little bug fix --- HBC/META.XML | 4 ++-- source/utils/ResourceManager.cpp | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/HBC/META.XML b/HBC/META.XML index 67e7fb40..cbfa46fb 100644 --- a/HBC/META.XML +++ b/HBC/META.XML @@ -2,8 +2,8 @@ USB Loader GX USB Loader GX Team - 1.0 r977 - 201009260906 + 1.0 r978 + 201009260928 Loads games from USB-devices USB Loader GX is a libwiigui based USB iso loader with a wii-like GUI. You can install games to your HDDs and boot them with shorter loading times. The interactive GUI is completely controllable with WiiMote, Classic Controller or GC Controller. diff --git a/source/utils/ResourceManager.cpp b/source/utils/ResourceManager.cpp index 582edb20..9dbeee7a 100644 --- a/source/utils/ResourceManager.cpp +++ b/source/utils/ResourceManager.cpp @@ -124,6 +124,10 @@ void ResourceManager::InternalRemoveImageData(u8 * img) } } } + else if(img) + { + free(img); + } } void ResourceManager::InternalRemoveImageData(GuiImageData * img)