]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3688fbc226172e213a3337f11ed30988168ed13
tree4880a1d7bd75ccb2568be035ded3371b6ea535e7
parentc8fd7556dfd7b5ebe0bfac75fbdc476b012962d1
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