PCI: rpaphp: Fix a memleak; slot->location string was never freed
authorLinas Vepstas <linas@austin.ibm.com>
Fri, 13 Apr 2007 22:34:10 +0000 (15:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:39 +0000 (19:02 -0700)
commit5fd39c35a016150e93b68c472a04b2d4b5574a2b
tree4880a1d7bd75ccb2568be035ded3371b6ea535e7
parent31be7586d1122538747519d786408f142f59dd46
PCI: rpaphp: Fix a memleak; slot->location string was never freed

Fix a memleak; the slot->location string was never freed.
Fix some whitespace and overlong-line probelms while we're here.

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_slot.c