PiPnpFreePdoDeviceList

VOID __fastcall PiPnpFreePdoDeviceList(_DEVICE_RELATIONS *DeviceList){
  unsigned int i; 
  if( DeviceList )
  {
    for( i = 0; i < DeviceList->Count; ++i )
      HalPutDmaAdapter((PADAPTER_OBJECT)DeviceList->Objects[i]);
    ExFreePoolWithTag(DeviceList, 0);
  }
}

Referenced by:

PnpFreeSystemPdoList
PnpGetSystemPdoList