From df53f5f7956a4c455b1ebc80120987fd04af7abf Mon Sep 17 00:00:00 2001 From: NightlyFox Date: Thu, 20 Sep 2018 21:22:13 -0500 Subject: [PATCH] added config_destroy() after done applying theme. --- common/menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/menu.c b/common/menu.c index 112f026..879cf7e 100644 --- a/common/menu.c +++ b/common/menu.c @@ -76,7 +76,8 @@ void launchApplyThemeTask(menuEntry_s* arg){ return; } appliedTheme=true; - menuCreateMsgBox(780, 300, "Theme Applied! Restart hbmenu to see the changes"); + config_destroy(&cfg); + menuCreateMsgBox(780, 300, "Theme Applied! Restart hbmenu to see the changes"); } //Draws an RGB888 or RGBA8888 image.