]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
MdeModulePkg/BMMUiLib: Set Handle to NULL after uninstall protocol
[mirror_edk2.git] / MdeModulePkg / Library / BootMaintenanceManagerUiLib / BootMaintenance.c
index 2167d3a5e8344b2d4f7bfada946c2523af143d2e..28592f9f47bd429ecb4736e9a3df8c5559593266 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 The functions for Boot Maintainence Main menu.\r
 \r
-Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -1763,6 +1763,7 @@ BootMaintenanceManagerUiLibDestructor (
          );\r
 \r
   FreePool (mBmmCallbackInfo->LoadContext);\r
+  mBmmCallbackInfo->BmmDriverHandle = NULL;\r
 \r
   return EFI_SUCCESS;\r
 }\r