lkml.org 
[lkml]   [2002]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 13:28    [W:0.048 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site