Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 057eeaee authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

OMAPFB: use devm_kzalloc to allocate omapfb2_device



Use devm_kzalloc to allocate omapfb2_device. This fixes possible memory
leak:

drivers/video/omap2/omapfb/omapfb-main.c:2553 omapfb_probe() warn:
possible memory leak of 'fbdev'

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 8105c94b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment