From: Pavitrakumar Managutte Date: Wed, 22 Oct 2014 13:54:58 +0000 (+0530) Subject: usb: gadget: function: Remove redundant usb_free_all_descriptors X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~17^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d12a8727171c770990c246f0682f0af7859bb245;p=pandora-kernel.git 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 Reviewed-by: Robert Baldyga Reviewed-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed