From: Antonio Ospite Date: Tue, 5 Jan 2016 20:54:05 +0000 (+0100) Subject: kinect_upload_fw: release the interface when exiting X-Git-Tag: v0.4~10 X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/ddb3f9be25631ce5c67efcf0c13ee5cc2244ebd1?ds=sidebyside kinect_upload_fw: release the interface when exiting --- diff --git a/kinect_upload_fw/kinect_upload_fw.c b/kinect_upload_fw/kinect_upload_fw.c index 54f463a..5faf8e1 100644 --- a/kinect_upload_fw/kinect_upload_fw.c +++ b/kinect_upload_fw/kinect_upload_fw.c @@ -259,6 +259,7 @@ int main(int argc, char** argv) { // Now the device reenumerates. cleanup: + libusb_release_interface(dev, KINECT_AUDIO_INTERFACE); libusb_close(dev); fail_libusb_open: libusb_exit(NULL);