libftdi Archives

Subject: Re: patch for memory leak in ftdi_init

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: derRolf@xxxxxxxxxxxxxx
Date: Fri, 25 Aug 2017 11:35:11 +0200
On Friday, 25 August 2017 10:38:58 CEST derRolf@xxxxxxxxxxxxxx wrote:
> if libusb open fails (e.g. permission problem) then ftdi_init leaks the
> memory for the eeprom data.

good catch :) Patch applied, thanks.

Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread