patch-2.4.22 linux-2.4.22/drivers/net/ne2k-pci.c

Next file: linux-2.4.22/drivers/net/ns83820.c
Previous file: linux-2.4.22/drivers/net/myri_sbus.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/ne2k-pci.c linux-2.4.22/drivers/net/ne2k-pci.c
@@ -634,6 +634,7 @@
 
 	unregister_netdev(dev);
 	release_region(dev->base_addr, NE_IO_EXTENT);
+	kfree(dev->priv);
 	kfree(dev);
 	pci_set_drvdata(pdev, NULL);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)