linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: silvio@qualys.com
To: linux-kernel@vger.kernel.org
Subject: [PATCH TRIVIAL]: drivers/acorn/char/pcf8583.c
Date: Sat, 24 Aug 2002 03:06:46 -0700	[thread overview]
Message-ID: <20020824030646.D1616@hamsec.aurora.sfo.interquest.net> (raw)

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

                 reply	other threads:[~2002-08-24  9:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020824030646.D1616@hamsec.aurora.sfo.interquest.net \
    --to=silvio@qualys.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).