Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d12a8727 authored by Pavitrakumar Managutte's avatar Pavitrakumar Managutte Committed by Felipe Balbi
Browse files

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: default avatarPavitrakumar Managutte <pavitra1729@gmail.com>
Reviewed-by: default avatarRobert Baldyga <r.baldyga@samsung.com>
Reviewed-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 1200a82a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment