]> cvs.zerfleddert.de Git - hmcfgusb/commit
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)
commit018f85faaef11f00f1f7736ccfe4d8f2fc9671ab
tree6dff6169b13eb8516f752bca0bfbb8f64dc2921f
parentae67934875bc87c000206a4700ea5dcdf174c377
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.
flash-hmcfgusb.c
flash-ota.c
hmcfgusb.c
hmcfgusb.h
hmsniff.c
Impressum, Datenschutz