PCI hotplug: pciehp: fix possible memory leak in pcie_init
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 22 Oct 2008 05:30:15 +0000 (14:30 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Oct 2008 23:42:45 +0000 (16:42 -0700)
commitb84346ef74cf76793070762b933387729c5df1ed
tree2aa7716ad7b047dce83ebacd20ee0886b350cd62
parenta1c19894b786f10c76ac40e93c6b5d70c9b946d2
PCI hotplug: pciehp: fix possible memory leak in pcie_init

Fix the error paths in pcie_init to avoid leaking memory.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_hpc.c