From owner-cvs-src-old@FreeBSD.ORG Sat Nov 13 19:25:20 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06681106585A for ; Sat, 13 Nov 2010 19:25:20 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E7A858FC16 for ; Sat, 13 Nov 2010 19:25:19 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oADJPJnk091200 for ; Sat, 13 Nov 2010 19:25:19 GMT (envelope-from hselasky@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oADJPJsE091199 for cvs-src-old@freebsd.org; Sat, 13 Nov 2010 19:25:19 GMT (envelope-from hselasky@repoman.freebsd.org) Message-Id: <201011131925.oADJPJsE091199@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to hselasky@repoman.freebsd.org using -f From: Hans Petter Selasky Date: Sat, 13 Nov 2010 19:25:11 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libusb libusb10.c libusb10_io.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 19:25:20 -0000 hselasky 2010-11-13 19:25:11 UTC FreeBSD src repository Modified files: lib/libusb libusb10.c libusb10_io.c Log: SVN rev 215253 on 2010-11-13 19:25:11Z by hselasky 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. Fixed by: hselasky Submitted by: Gustau Perez i Querol Approved by: thompsa (mentor) Revision Changes Path 1.12 +4 -0 src/lib/libusb/libusb10.c 1.9 +7 -4 src/lib/libusb/libusb10_io.c