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
This commit is contained in:
vanjeff 2009-10-26 02:28:49 +00:00
parent 3a15fd5268
commit 0ce94f384e
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ PciEnumerator (
gFullEnumeration = FALSE;
Handle = NULL;
Status = gBS->InstallProtocolInterface (
&Handle,
&gEfiPciEnumerationCompleteProtocolGuid,