patch-1.3.33 linux/drivers/net/ewrk3.c

Next file: linux/drivers/net/hp-plus.c
Previous file: linux/drivers/net/eexpress.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.32/linux/drivers/net/ewrk3.c linux/drivers/net/ewrk3.c
@@ -1885,7 +1885,7 @@
   } else {
     release_region(thisEthwrk.base_addr, EWRK3_TOTAL_SIZE);
     unregister_netdev(&thisEthwrk);
-    free(thisEthwrk.priv);
+    kfree(thisEthwrk.priv);
     thisEthwrk.priv = NULL;
   }
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this