Forgotten file in previous commit

This commit is contained in:
asava 2020-05-04 21:05:47 +03:00
parent 702e0d49c2
commit 9c056aaf6b

View File

@ -2421,7 +2421,9 @@ RefitMain (IN EFI_HANDLE ImageHandle,
} else if (gThemeChanged) {
DBG("change theme\n");
InitTheme(FALSE, NULL);
OptionMenu.FreeMenu();
//OptionMenu.FreeMenu(); // it is already freed at loop beginning
AboutMenu.Entries.Empty();
HelpMenu.Entries.Empty();
}
DBG("theme inited\n");
if (ThemeX.embedded) {