All of lore.kernel.org
 help / color / mirror / Atom feed
From: <gregkh@suse.de>
To: Uwe.Kleine-Koenig@digi.com, gregkh@suse.de, greg@kroah.com,
	hjk@linutronix.de, linux-kernel@vger.kernel.org,
	magnus.damm@gmail.com
Subject: patch uio-uio_pdrv-fix-memory-leak.patch added to gregkh-2.6 tree
Date: Wed, 20 Aug 2008 13:56:15 -0700	[thread overview]
Message-ID: <12192657752041@kroah.org> (raw)
In-Reply-To: <1215767437-20583-2-git-send-email-Uwe.Kleine-Koenig@digi.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]


This is a note to let you know that I've just added the patch titled

    Subject: UIO: uio_pdrv: fix memory leak

to my gregkh-2.6 tree.  Its filename is

    uio-uio_pdrv-fix-memory-leak.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From Uwe.Kleine-Koenig@digi.com  Wed Aug 20 13:44:18 2008
From: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Date: Fri, 11 Jul 2008 11:10:36 +0200
Subject: UIO: uio_pdrv: fix memory leak
To: Greg KH <greg@kroah.com>, "Hans J. Koch" <hjk@linutronix.de>
Cc: Magnus Damm <magnus.damm@gmail.com>, <linux-kernel@vger.kernel.org>
Message-ID: <1215767437-20583-2-git-send-email-Uwe.Kleine-Koenig@digi.com>


Thanks to Magnus Damm for pointing that out.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Acked-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/uio/uio_pdrv.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/uio/uio_pdrv.c
+++ b/drivers/uio/uio_pdrv.c
@@ -88,6 +88,8 @@ static int uio_pdrv_remove(struct platfo
 
 	uio_unregister_device(pdata->uioinfo);
 
+	kfree(pdata);
+
 	return 0;
 }
 


Patches currently in gregkh-2.6 which might be from Uwe.Kleine-Koenig@digi.com are

driver-core.current/uio-uio_pdrv-fix-license-specification.patch
driver-core.current/uio-uio_pdrv-fix-memory-leak.patch
driver-core.current/uio-generic-irq-handling-for-some-uio-platform-devices.patch

      parent reply	other threads:[~2008-08-20 21:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DOR-SMS-MAIL1KqnjYT00000466@dor-sms-mail1.digi.com>
2008-07-09 22:57 ` [PATCH] uio_pdrv: fix memory leak and license specification Hans J. Koch
2008-07-11  9:10 ` [PATCH 0/2] uio_pdrv updates Uwe Kleine-König
2008-07-11  9:10   ` [PATCH 1/2] uio_pdrv: fix memory leak Uwe Kleine-König
2008-07-11  9:10     ` [PATCH 2/2] uio_pdrv: fix license specification Uwe Kleine-König
2008-08-20 20:56       ` patch uio-uio_pdrv-fix-license-specification.patch added to gregkh-2.6 tree gregkh
2008-08-20 20:56     ` gregkh [this message]

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=12192657752041@kroah.org \
    --to=gregkh@suse.de \
    --cc=Uwe.Kleine-Koenig@digi.com \
    --cc=greg@kroah.com \
    --cc=hjk@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.