Messages in this thread Patch in this message | | | Subject | Re: [PATCH] PCI Hotplug changes for 2.5.59 | From | Greg KH <> | Date | Wed, 5 Feb 2003 20:08 -0800 |
| |
ChangeSet 1.947.23.14, 2003/02/06 11:23:20+11:00, greg@kroah.com
[PATCH] IBM PCI Hotplug: fix memory leak found by checker project.
diff -Nru a/drivers/hotplug/ibmphp_pci.c b/drivers/hotplug/ibmphp_pci.c --- a/drivers/hotplug/ibmphp_pci.c Thu Feb 6 14:51:12 2003 +++ b/drivers/hotplug/ibmphp_pci.c Thu Feb 6 14:51:12 2003 @@ -951,6 +951,7 @@ if (rc) { if (rc == -ENOMEM) { ibmphp_remove_bus (bus, func->busno); + kfree (amount_needed); return rc; } retval = rc; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |