mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH TRIVIAL]: drivers/acorn/char/pcf8583.c
@ 2002-08-24 10:06 silvio
  0 siblings, 0 replies; only message in thread
From: silvio @ 2002-08-24 10:06 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 44 bytes --]

trivial patch to fix memory leak

--
Silvio

[-- Attachment #2: patch.linux4 --]
[-- Type: text/plain, Size: 273 bytes --]

--- 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;
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-24  9:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-24 10:06 [PATCH TRIVIAL]: drivers/acorn/char/pcf8583.c silvio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®