Date: Fri, 12 Jun 2009 16:00:12 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194065 - head/sys/dev/usb Message-ID: <200906121600.n5CG0C2a086339@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: thompsa Date: Fri Jun 12 16:00:12 2009 New Revision: 194065 URL: http://svn.freebsd.org/changeset/base/194065 Log: Free the correct memory pointer. Submitted by: Tim Borgeaud (via HPS) Modified: head/sys/dev/usb/usb_compat_linux.c Modified: head/sys/dev/usb/usb_compat_linux.c ============================================================================== --- head/sys/dev/usb/usb_compat_linux.c Fri Jun 12 15:58:55 2009 (r194064) +++ head/sys/dev/usb/usb_compat_linux.c Fri Jun 12 16:00:12 2009 (r194065) @@ -1143,7 +1143,7 @@ usb_linux_free_device(struct usb_device uhe++; } err = usb_setup_endpoint(dev, &dev->ep0, 0); - free(uhe, M_USBDEV); + free(dev->linux_endpoint_start, M_USBDEV); } /*------------------------------------------------------------------------*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906121600.n5CG0C2a086339>