commit | 27d9cb7ed2643cee96c4af5cfc4b941f68f42395 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Tue May 31 11:14:08 2016 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Jun 20 14:06:05 2016 -0500 |
tree | 8a0910c46db081fb636fe1b88c495a69fd565f0e | |
parent | 950334bcf17a6ab55ce13d3bdf050f7b429320d5 [diff] |
PCI: designware: 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>