summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus
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/Bus
parent3a15fd52680a9412233a7edca69179cbf712b58a (diff)
downloadedk2-0ce94f384e29bee048477e4f2e5cebe46314cced.tar.gz
edk2-0ce94f384e29bee048477e4f2e5cebe46314cced.tar.bz2
edk2-0ce94f384e29bee048477e4f2e5cebe46314cced.zip
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/Bus')
-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 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,