Searched hist:"5958 fde72d04e7b8c6de3669d1f794a90997e3eb" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/video/fbdev/ |
H A D | goldfishfb.c | diff 5958fde72d04e7b8c6de3669d1f794a90997e3eb Tue Jul 24 19:11:27 CEST 2018 Anton Vasilyev <vasilyev@ispras.ru> video: goldfishfb: fix memory leak on driver remove
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 <vasilyev@ispras.ru> Cc: Aleksandar Markovic <aleksandar.markovic@mips.com> Cc: Miodrag Dinic <miodrag.dinic@mips.com> Cc: Goran Ferenc <goran.ferenc@mips.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
|