PCI: rpaphp: match up alloc and free in same routine
authorLinas Vepstas <linas@austin.ibm.com>
Fri, 13 Apr 2007 22:34:09 +0000 (15:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:38 +0000 (19:02 -0700)
commit31be7586d1122538747519d786408f142f59dd46
tree2afc171419c60084a142164b1da6ca17aeded4ef
parentfa1891596ca252e48e8803738fd8ead5b3082217
PCI: rpaphp: match up alloc and free in same routine

The routine that called an alloc should be the same routine that
calles the mathcing free, if anything in the middle failed.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Cc: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/rpaphp_core.c
drivers/pci/hotplug/rpaphp_pci.c
drivers/pci/hotplug/rpaphp_slot.c