From 5a0cdbc09b5d0b6f1c14a13203c255025cee3fda Mon Sep 17 00:00:00 2001 From: NightlyFox Date: Sun, 30 Sep 2018 16:07:20 -0500 Subject: [PATCH] forgot to set me->icon_gfx to NULL after freeing --- common/menu-entry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/menu-entry.c b/common/menu-entry.c index 2099e34..2ea936f 100644 --- a/common/menu-entry.c +++ b/common/menu-entry.c @@ -334,6 +334,7 @@ void menuEntryParseIcon(menuEntry_s* me) { if(_jpegDecompressor = NULL) { free(me->icon_gfx); + me->icon_gfx = NULL; return; }