Re: [PATCH] fbdev: smscufx: fix error handling code in ufx_usb_probe

2022-11-13 Thread Helge Deller
On 11/11/22 06:49, Dongliang Mu wrote: The current error handling code in ufx_usb_probe have many unmatching issues, e.g., missing ufx_free_usb_list, destroy_modedb label should only include framebuffer_release, fb_dealloc_cmap only matches fb_alloc_cmap. My local syzkaller reports a memory leak

[PATCH] fbdev: smscufx: fix error handling code in ufx_usb_probe

2022-11-11 Thread Dongliang Mu
The current error handling code in ufx_usb_probe have many unmatching issues, e.g., missing ufx_free_usb_list, destroy_modedb label should only include framebuffer_release, fb_dealloc_cmap only matches fb_alloc_cmap. My local syzkaller reports a memory leak bug: memory leak in ufx_usb_probe BUG: