From owner-svn-src-all@FreeBSD.ORG Fri May 29 16:15:57 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AEA81065675; Fri, 29 May 2009 16:15:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2910F8FC1B; Fri, 29 May 2009 16:15:57 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4TGFvTO079927; Fri, 29 May 2009 16:15:57 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4TGFvuq079926; Fri, 29 May 2009 16:15:57 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <200905291615.n4TGFvuq079926@svn.freebsd.org> From: Andrew Thompson Date: Fri, 29 May 2009 16:15:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193042 - head/sys/dev/usb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 16:15:57 -0000 Author: thompsa Date: Fri May 29 16:15:56 2009 New Revision: 193042 URL: http://svn.freebsd.org/changeset/base/193042 Log: Free device strings. Spotted by: HPS Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c ============================================================================== --- head/sys/dev/usb/usb_device.c Fri May 29 15:00:04 2009 (r193041) +++ head/sys/dev/usb/usb_device.c Fri May 29 16:15:56 2009 (r193042) @@ -1990,6 +1990,9 @@ usb2_free_device(struct usb_device *udev #endif /* free device */ + free(udev->serial, M_USB); + free(udev->manufacturer, M_USB); + free(udev->product, M_USB); free(udev, M_USB); }