lkml.org 
[lkml]   [2003]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] PCI Hotplug changes for 2.5.59
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.055 / U:1.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site