diff options
author | Pavitrakumar Managutte <[email protected]> | 2014-10-22 19:24:58 +0530 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2014-10-23 13:57:24 -0500 |
commit | d12a8727171c770990c246f0682f0af7859bb245 (patch) | |
tree | 65f081be3d25e5b85187acbfb46d7a3f2f4fd727 /lib/memory-notifier-error-inject.c | |
parent | 1200a82a59b6aa65758ccc92c3447b98c53cd7a2 (diff) |
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 <[email protected]>
Reviewed-by: Robert Baldyga <[email protected]>
Reviewed-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions