From owner-p4-projects@FreeBSD.ORG Fri Jun 26 19:07:04 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 131A31065677; Fri, 26 Jun 2009 19:07:04 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C604A106564A; Fri, 26 Jun 2009 19:07:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id 226B88FC14; Fri, 26 Jun 2009 19:07:02 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=We6oJ_Wk5WwA:10 a=hlIU1J3LQChSjWV/CGRL5g==:17 a=UBIc9ooZm2HJw9nS1kEA:9 a=4trDuMpcJlOruTlE089q1D-Djj0A:4 Received: from [193.217.167.6] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 1266801639; Fri, 26 Jun 2009 21:07:01 +0200 From: Hans Petter Selasky To: Sylvestre Gallon Date: Fri, 26 Jun 2009 21:06:32 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <200906261826.n5QIQnr3055377@repoman.freebsd.org> In-Reply-To: <200906261826.n5QIQnr3055377@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906262106.32635.hselasky@c2i.net> Cc: Perforce Change Reviews Subject: Re: PERFORCE change 165267 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 19:07:04 -0000 On Friday 26 June 2009 20:26:49 Sylvestre Gallon wrote: > + libusb_unref_device((*list)[i - 1]); > + free((*list)[i - 1]); Is the free() required? Doesn't libusb_unref_device() do the free? --HPS