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.