diff options
Diffstat (limited to 'IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c')
-rw-r--r-- | IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c b/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c index f3a09b0c2d..7ca4b8dec3 100644 --- a/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c +++ b/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/LegacyBootMaintUi.c @@ -1181,6 +1181,9 @@ GetLegacyOptionsOrder ( UINTN Bit;
UINT8 *DisMap;
+ LegacyDev = NULL;
+ OptionMenu = NULL;
+
DisMap = ZeroMem (mLegacyBootOptionPrivate->MaintainMapData->DisableMap, sizeof (mLegacyBootOptionPrivate->MaintainMapData->DisableMap));
//
|