backlight: 88pm860x_bl - potential memory leak
authorDan Carpenter <error27@gmail.com>
Fri, 7 May 2010 09:06:21 +0000 (11:06 +0200)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 26 May 2010 12:08:31 +0000 (13:08 +0100)
commit9844ce0501b03843c44156d6e36afb80e847c974
tree900423d004aee18bac803f422a15ec14e3107406
parent8193db229101fa5e7e7070422a7471775140e7bd
backlight: 88pm860x_bl - potential memory leak

I added a kfree() on the error path.  I don't really expect it to affect
anyone, but it's easy and makes the static checkers happy.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/88pm860x_bl.c