]> git.zerfleddert.de Git - hmcfgusb/commitdiff
fix a few small memory-leaks when opening the USB device
authorMichael Gernoth <michael@gernoth.net>
Wed, 27 May 2015 08:08:41 +0000 (10:08 +0200)
committerMichael Gernoth <michael@gernoth.net>
Wed, 27 May 2015 08:08:41 +0000 (10:08 +0200)
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.


No differences found
Impressum, Datenschutz