[PATCH] small leakage in eql.c

From: Alessandro Rubini (rubini@linux.it)
Date: Tue Feb 15 2000 - 08:33:56 EST


This is really trivial. However, here it goes.
It applies to both 2.2 and 2.3.

--- drivers/net/eql.c.orig Tue Feb 15 14:16:11 2000
+++ drivers/net/eql.c Tue Feb 15 14:24:48 2000
@@ -1030,6 +1030,8 @@
 
 void cleanup_module(void)
 {
+ kfree(((equalizer_t *)dev_eql.priv)->stats );
+ kfree(dev_eql.priv);
         unregister_netdev(&dev_eql);
 }
 #endif /* MODULE */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:29 EST