Darwin: fix crash when reading descriptors after close
authorNathan Hjelm <hjelmn@mac.com>
Sun, 23 Aug 2009 04:17:55 +0000 (10:02 +0545)
committerDaniel Drake <dsd@gentoo.org>
Sun, 23 Aug 2009 04:17:55 +0000 (10:02 +0545)
commitad8ae04d0b52009af0b1180e005f7554d2bbb26c
treeb103e3d88594d2b473b10b71de398d77d409d7f1
parent45ae2aecf5512dcff059b2a416534e81c6a00c88
Darwin: fix crash when reading descriptors after close

Fix a crash which occurs if the user does the following sequence on a
device: open, close, get_configuration_descriptor.
libusb/os/darwin_usb.c