From 0ce94f384e29bee048477e4f2e5cebe46314cced Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 26 Oct 2009 02:28:49 +0000 Subject: Set Handle to NULL when creating a new handle. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9358 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c | 1 + 1 file changed, 1 insertion(+) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c b/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c index 6c1de3f..bd256cf 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, -- cgit v1.1