From owner-cvs-src-old@FreeBSD.ORG Sun Nov 28 07:18:30 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 774421065679 for ; Sun, 28 Nov 2010 07:18:30 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 497598FC0C for ; Sun, 28 Nov 2010 07:18:30 +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 oAS7IUPu085243 for ; Sun, 28 Nov 2010 07:18:30 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAS7IUZq085242 for cvs-src-old@freebsd.org; Sun, 28 Nov 2010 07:18:30 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <201011280718.oAS7IUZq085242@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Sun, 28 Nov 2010 07:18:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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: Sun, 28 Nov 2010 07:18:30 -0000 thompsa 2010-11-28 07:18:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) lib/libusb libusb10.c libusb10_io.c Log: SVN rev 215983 on 2010-11-28 07:18:14Z by thompsa 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. Revision Changes Path 1.3.2.10 +4 -0 src/lib/libusb/libusb10.c 1.3.2.6 +7 -4 src/lib/libusb/libusb10_io.c