mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
Revert "backlight: fix memory leak on obscure error path"
This reverts commit 9ea3c49896.
'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>
This commit is contained in:
parent
d14b7a419a
commit
e1c9ac420e
1 changed files with 0 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue