class: Free the class private data in class_release
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 10 Feb 2010 12:32:49 +0000 (13:32 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Feb 2010 23:43:00 +0000 (15:43 -0800)
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>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found