diff --git a/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c b/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c index ae32278f1b..c9df7baeb6 100644 --- a/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c +++ b/MdeModulePkg/Application/UiApp/BootMaint/UpdatePage.c @@ -495,8 +495,10 @@ UpdateConsolePage ( UpdatePageStart (CallbackData); ConsoleCheck = NULL; + OldConsoleCheck = NULL; QuestionIdBase = 0; VariableOffsetBase = 0; + ConsoleCheckSize = 0; switch (UpdatePageId) { case FORM_CON_IN_ID: