diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c index 6c1de3f3e6..bd256cfc85 100644 --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c @@ -126,6 +126,7 @@ PciEnumerator ( gFullEnumeration = FALSE; + Handle = NULL; Status = gBS->InstallProtocolInterface ( &Handle, &gEfiPciEnumerationCompleteProtocolGuid,