commit | c41be7a695edeb00480a95eaf1c23a76b35f0b8b | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Tue May 31 11:49:14 2016 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Jun 20 14:06:06 2016 -0500 |
tree | 33063c704979612db32ea1281993e60369dd5faf | |
parent | 0ccb7eefeb56c8d3cdce53ede23e06c8be894670 [diff] |
PCI: xilinx: Free bridge resource list on failure of_pci_get_host_bridge_resources() allocates a list of resources for host bridge windows. If we fail after allocating that list, free it before we return error. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>