Fix small memleak when ftdi_init() fails
authorRolf Fiedler <derRolf@gmx-topmail.de>
Fri, 25 Aug 2017 09:33:35 +0000 (11:33 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 25 Aug 2017 09:33:35 +0000 (11:33 +0200)
commit3b3a9614147038b37b69f5c2878841bad1db8af1
treed2a75388fa4d0ab080a2682016e6c83ba0c8b00d
parentd5c1622a2ff0c722c0dc59533748489b45774e55
Fix small memleak when ftdi_init() fails

If libusb open fails (e.g. permission problem),
then ftdi_init() leaks the memory for the eeprom data.
src/ftdi.c