git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI Hotplug: Fix small mem leak in IBM Hot Plug Controller Driver
[safe/jmp/linux-2.6]
/
drivers
/
pci
/
hotplug
/
ibmphp_ebda.c
diff --git
a/drivers/pci/hotplug/ibmphp_ebda.c
b/drivers/pci/hotplug/ibmphp_ebda.c
index
600ed7b
..
bbccde9
100644
(file)
--- a/
drivers/pci/hotplug/ibmphp_ebda.c
+++ b/
drivers/pci/hotplug/ibmphp_ebda.c
@@
-963,6
+963,7
@@
static int __init ebda_rsrc_controller (void)
bus_info_ptr1 = ibmphp_find_same_bus_num (hpc_ptr->slots[index].slot_bus_num);
if (!bus_info_ptr1) {
+ kfree(tmp_slot);
rc = -ENODEV;
goto error;
}