Re: [PATCH] video: goldfishfb: fix memory leak on driver remove

From
Bartlomiej Zolnierkiewicz <hidden>
Date
2018-07-24 15:41:23
Also in
dri-devel, lkml
Reply to
Anton Vasilyev, 2018-07-06
On Friday, July 06, 2018 03:04:22 PM Anton Vasilyev wrote:
goldfish_fb_probe() allocates memory for fb, but goldfish_fb_remove() does
not have deallocation of fb, which leads to memory leak on probe/remove.

The patch adds deallocation into goldfish_fb_remove().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Vasilyev <redacted>
Patch queued for 4.19, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Thread (2 messages) 2 messages, 2 authors, last reply 2018-07-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help