From: Michael Gernoth Date: Wed, 27 May 2015 08:08:41 +0000 (+0200) Subject: fix a few small memory-leaks when opening the USB device X-Git-Tag: v0.100~6 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/018f85faaef11f00f1f7736ccfe4d8f2fc9671ab?hp=018f85faaef11f00f1f7736ccfe4d8f2fc9671ab fix a few small memory-leaks when opening the USB device Free the USB device list, do not call libusb_exit() when not really terminating, don't call libusb_init() more than once (no need without libusb_exit()). Also handle canceled usb-transfers and free their memory. ---