[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1265817945.2006.270.camel@localhost>
Date: Wed, 10 Feb 2010 18:05:45 +0200
From: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>
To: ext Laurent Pinchart <laurent.pinchart@...asonboard.com>
Cc: "gregkh@...e.de" <gregkh@...e.de>,
"kay.sievers@...y.org" <kay.sievers@...y.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] class: Free the class private data in class_release
On Wed, 2010-02-10 at 13:32 +0100, ext Laurent Pinchart wrote:
> Fix a memory leak by freeing the memory allocated in __class_register
> for the class private data.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
Acked-by: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>
Thanks for finding this. For reference, this was spotted with help of
the great kmemleak tool.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists