Messages in this thread |  | | Subject | Re: [PATCH v2] class: Free the class private data in class_release | From | Artem Bityutskiy <> | Date | Wed, 10 Feb 2010 18:05:45 +0200 |
| |
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@ideasonboard.com>
Acked-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |