Revision: 14140
          http://edk2.svn.sourceforge.net/edk2/?rev=14140&view=rev
Author:   niruiyu
Date:     2013-02-21 03:40:02 +0000 (Thu, 21 Feb 2013)
Log Message:
-----------
Shouldn't free the PciDev structure because the PciDev needs to be saved to 
RemovedPciDev array.

Signed-off-by: Ruiyu Ni <[email protected]>
Reviewed-by: Elvin Li <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c

Modified: trunk/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c
===================================================================
--- trunk/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c   2013-02-21 
01:35:22 UTC (rev 14139)
+++ trunk/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumerator.c   2013-02-21 
03:40:02 UTC (rev 14140)
@@ -794,7 +794,6 @@
     if (Temp == PciDevice) {
       InitializePciDevice (Temp);
       RemoveEntryList (CurrentLink);
-      FreePciDevice (Temp);
       return EFI_SUCCESS;
     }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to