/* Free the root bridge instances array returned from  */
VOID EFIAPI PciHostBridgeFreeRootBridges(PCI_ROOT_BRIDGE *Bridges, UINTN Count)
/* Free the root bridge instances array returned from  */
VOID EFIAPI PciHostBridgeFreeRootBridges(PCI_ROOT_BRIDGE *Bridges, UINTN Count)
{
  if ((Bridges == NULL) || (Count == 0)) {
    return;
  }
  ASSERT (Bridges != NULL || Count > 0);
  do {
    --Count;
    FreePool (Bridges[Count].DevicePath);
  } while (Count > 0);
  FreePool (Bridges);
}