commit | e1c9ac420ef15e39c2ead879cda1677d1e5cb2b6 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Mon Jul 30 10:40:28 2012 +0200 |
committer | Jiri Kosina <jkosina@suse.cz> | Mon Jul 30 10:40:28 2012 +0200 |
tree | 2407e5a6c463e4a4a0e4063fbc4b693aee1362be | |
parent | d14b7a419a664cd7c1c585c9e7fffee9e9051d53 [diff] |
Revert "backlight: fix memory leak on obscure error path" This reverts commit 9ea3c498962bc63748e92c31c874169ab0726324. 'data' is being allocated by devm_kzalloc(), is it's actually wrong to free() it in the error path, as it will be destroyed properly later. Reported-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>