summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-26 02:28:49 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-26 02:28:49 +0000
commit0ce94f384e29bee048477e4f2e5cebe46314cced (patch)
tree19920aa28a05cff93c0f2fa233f99f8817d6dc6b /MdeModulePkg
parent3a15fd52680a9412233a7edca69179cbf712b58a (diff)
downloadedk2-0ce94f384e29bee048477e4f2e5cebe46314cced.zip
edk2-0ce94f384e29bee048477e4f2e5cebe46314cced.tar.gz
edk2-0ce94f384e29bee048477e4f2e5cebe46314cced.tar.bz2
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c1
1 files changed, 1 insertions, 0 deletions
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,