Make sure to call uhidev_close() upon detach for every HID driver calling
authormpi <mpi@openbsd.org>
Wed, 7 May 2014 08:17:21 +0000 (08:17 +0000)
committermpi <mpi@openbsd.org>
Wed, 7 May 2014 08:17:21 +0000 (08:17 +0000)
commit9dcdfc618265057d8bd63522c536e137b6d02a6b
tree7431b5fa01f5cdfe4533fe9ae2a13ef5ea6ca475
parent4ceb7caa6a4b4929c23d33166ce6cac49ecbeaca
Make sure to call uhidev_close() upon detach for every HID driver calling
uhidev_open() at attach time.  This plugs up to 3 xfer leaks and a buffer
one.

ok yuo@
sys/dev/usb/ucycom.c
sys/dev/usb/uoaklux.c
sys/dev/usb/uoakrh.c
sys/dev/usb/uoakv.c
sys/dev/usb/utrh.c
sys/dev/usb/utwitch.c