Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 02/25/2004 21:52:59
Module Name:	src
Committed By:	drochner
Date:		Wed Feb 25 21:52:59 UTC 2004

Modified Files:
	src/sys/dev/usb: usb_subr.c

Log Message:
On disconnect, set the "subdev" pointer to NULL, otherwise
free()d memory will be referenced through
usbd_add_dev_event(USB_EVENT_DEVICE_DETACH)->
usbd_fill_deviceinfo()
later.
might need more review, but at least it doesn't crash on
amd64 anymore


To generate a diff of this commit:
cvs rdiff -r1.109 -r1.110 src/sys/dev/usb/usb_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.