When no PCIe card is inserted, there is a memory leak as pci_free_resource_list is not called before returning. v2: separate the patch to two files. Harunobu Kurokawa (1): PCI: rcar-pcie: Fix memory leak when no PCIe card is inserted Lorenzo Pieralisi (1): PCI: rcar: Fix error exit path drivers/pci/host/pcie-rcar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.9.2