"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "57c62c94fe10a76b6d0a4149f5f64234e4b4c38d"
usb: gadget: function: Remove redundant usb_free_all_descriptors
Removed usb_free_all_descriptors in the bind functions, which results in double-free corruption of the descriptors on error path. The usb descriptors are allocated by usb_assign_descriptors. Signed-off-by:Pavitrakumar Managutte <pavitra1729@gmail.com> Reviewed-by:
Robert Baldyga <r.baldyga@samsung.com> Reviewed-by:
Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by:
Felipe Balbi <balbi@ti.com>
Loading
Please register or sign in to comment