[PATCH 2.6] fix yenta memleak
From: Daniel Ritz
Date: Sun Dec 28 2003 - 12:57:40 EST
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);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/