backlight: fix memory leak on obscure error path
authorMartlin Ettl <ettl.martin@gmx.de>
Thu, 5 Jul 2012 16:58:46 +0000 (17:58 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 9 Jul 2012 14:20:11 +0000 (16:20 +0200)
commit9ea3c498962bc63748e92c31c874169ab0726324
tree7cf0ecae900eb80fc06371300fbbf304fa01861b
parent59f91e5dd0504dc0ebfaa0b6f3a55e6931f96266
backlight: fix memory leak on obscure error path

Dredged out of bugzilla

Reported-by: Martlin Ettl <ettl.martin@gmx.de>
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=15492
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/video/backlight/88pm860x_bl.c