[PATCH 2.6] fix yenta memleak

Daniel Ritz daniel.ritz at gmx.ch
Sun Dec 28 18:52:14 GMT 2003


fix a memleak on yenta_socket unload.
against 2.6.0


--- 1.50/drivers/pcmcia/yenta_socket.c	Tue Oct 28 00:12:06 2003
+++ edited/drivers/pcmcia/yenta_socket.c	Sun Dec 28 18:35:30 2003
@@ -648,6 +648,8 @@
 
 	pci_release_regions(dev);
 	pci_set_drvdata(dev, NULL);
+
+	kfree(sock);
 }
 
 




More information about the linux-pcmcia mailing list