]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r215253
authorthompsa <thompsa@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 28 Nov 2010 07:18:14 +0000 (07:18 +0000)
committerthompsa <thompsa@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 28 Nov 2010 07:18:14 +0000 (07:18 +0000)
commit927095d0642990c9834bd81bf7e98194d740e5af
tree1c39023454f9069925e35a0ba31795168380c93e
parent63d313be1c0db2209274e3b3f65efd45e49b89e3
MFC r215253

 Fix LibUSB v1.0 compliancy.

 1) We need to allow the USB callback to free the USB transfer itself.
 2) The USB transfer buffer should only be automatically freed when
 freeing the USB transfer.

git-svn-id: svn://svn.freebsd.org/base/stable/8@215983 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libusb/libusb10.c
lib/libusb/libusb10_io.c