[FREELDR]
[reactos.git] / reactos / boot / freeldr / freeldr / arch / i386 / hwpci.c
index a19a9f9..092b55c 100644 (file)
@@ -158,8 +158,6 @@ DetectPciIrqRoutingTable(PCONFIGURATION_COMPONENT_DATA BusKey)
                                PartialResourceList,
                                Size,
                                &TableKey);
-
-        MmHeapFree(PartialResourceList);
     }
 }
 
@@ -205,8 +203,6 @@ DetectPciBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber)
         /* Increment bus number */
         (*BusNumber)++;
 
-        MmHeapFree(PartialResourceList);
-
         DetectPciIrqRoutingTable(BiosKey);
 
         /* Report PCI buses */
@@ -268,8 +264,6 @@ DetectPciBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber)
                                    Size,
                                    &BusKey);
 
-            MmHeapFree(PartialResourceList);
-
             /* Increment bus number */
             (*BusNumber)++;
         }