lkml.org 
[lkml]   [2002]   [Aug]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 24 Aug 2002 03:06:46 -0700
From silvio@qualys ...
Subject[PATCH TRIVIAL]: drivers/acorn/char/pcf8583.c
trivial patch to fix memory leak

--
Silvio
--- linux-2.4.19/drivers/acorn/char/pcf8583.c	Fri Mar  2 18:38:37 2001
+++ linux-2.4.19-dev/drivers/acorn/char/pcf8583.c	Sat Aug 24 02:35:07 2002
@@ -73,6 +73,7 @@
 pcf8583_detach(struct i2c_client *client)
 {
 	i2c_detach_client(client);
+	kfree(client);
 	return 0;
 }
 
\
 
 \ /
  Last update: 2005-03-22 12:28    [W:1.519 / U:0.130 seconds]
©2003-2008 Jasper Spaans