summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pci-imx6.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2015-05-24 22:37:03 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-05-28 01:34:05 +0200
commitef07991a95de76b07594448c3521361831ec2cfe (patch)
tree028f4d52668d97e3ca04322e004c7a71b154c33f /drivers/pci/host/pci-imx6.c
parentPCI: iproc: Directly add PCI resources (diff)
downloadlinux-ef07991a95de76b07594448c3521361831ec2cfe.tar.xz
linux-ef07991a95de76b07594448c3521361831ec2cfe.zip
PCI: iproc: Free resource list after registration
The resource list is only used in the setup process and was never freed. pci_add_resource() allocates a memory area to store the list item. Fix the memory leak. Tested-by: Ray Jui <rjui@broadcom.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Ray Jui <rjui@broadcom.com>
Diffstat (limited to 'drivers/pci/host/pci-imx6.c')
0 files changed, 0 insertions, 0 deletions