Skip to content
Commit 0bb01307 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: xilinx-nwl: 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: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 93a5b5e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment