From owner-cvs-all Sat Jun 30 4: 4:16 2001 Delivered-To: cvs-all@freebsd.org Received: from gate.qubesoft.com (gate.qubesoft.com [212.113.16.243]) by hub.freebsd.org (Postfix) with ESMTP id 079AB37B403; Sat, 30 Jun 2001 04:04:08 -0700 (PDT) (envelope-from n_hibma@FreeBSD.ORG) Received: from bluebottle.qubesoft.com (bluebottle [192.168.1.2]) by gate.qubesoft.com (8.11.3/8.11.3) with ESMTP id f5UB46P48516; Sat, 30 Jun 2001 12:04:06 +0100 (BST) (envelope-from n_hibma@FreeBSD.ORG) Received: from localhost (localhost [127.0.0.1]) by bluebottle.qubesoft.com (8.11.4/8.11.4) with ESMTP id f5UB45W09723; Sat, 30 Jun 2001 12:04:06 +0100 (BST) (envelope-from n_hibma@FreeBSD.ORG) Date: Sat, 30 Jun 2001 12:04:05 +0100 (BST) From: Nick Hibma X-X-Sender: To: , , Subject: Re: cvs commit: src/sys/dev/usb uhid.c usbdi_util.c In-Reply-To: <200106301057.f5UAvcF86189@freefall.freebsd.org> Message-ID: <20010630120003.R71373-100000@bluebottle> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I'd like to thank dwmalone for looking through the PR database and prodding me that a bug report contained a useful patch. This solves a problem I have been hunting on and off for about 2 months now (with people even sending me hardware). And obviously I should be slapped for completely missing a bug report for more than a month. It even had the word USB in the subject. Nice work. Cheers, Nick On Sat, 30 Jun 2001, Nick Hibma wrote: > n_hibma 2001/06/30 03:57:38 PDT > > Modified files: > sys/dev/usb uhid.c usbdi_util.c > Log: > Don't free memory that has been freed already. > Null the pointer after freeing the memory. > > PR: 27370 > Submitted by: Alec Barea > MFC after: 5 days > > Revision Changes Path > 1.37 +1 -3 src/sys/dev/usb/uhid.c > 1.19 +2 -1 src/sys/dev/usb/usbdi_util.c > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/uhid.c?r1=1.36&r2=1.37&cvsroot=freebsd > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/usbdi_util.c?r1=1.18&r2=1.19&cvsroot=freebsd > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message