usb: gadget: uvc: memory leak in uvcg_frame_make()
We need to add a kfree(h) on an error path. Acked-by: NAndrzej Pietrasiewicz <andrzej.p@samsung.com> Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NFelipe Balbi <balbi@ti.com>
Showing
想要评论请 注册 或 登录