From: Uwe Bonnes Date: Thu, 8 Sep 2011 08:11:27 +0000 (+0200) Subject: ftdi_eeprom/main.c: Clean up the FTDI structure on exit X-Git-Tag: v1.0rc1~72 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=4e494b76c44b82fc04cbe9939bc10a74f051fad5 ftdi_eeprom/main.c: Clean up the FTDI structure on exit Valgrind still reports an error, but I suspect it is with (my version?) of confuse. --- diff --git a/ftdi_eeprom/main.c b/ftdi_eeprom/main.c index 931045f..b33266f 100644 --- a/ftdi_eeprom/main.c +++ b/ftdi_eeprom/main.c @@ -383,6 +383,7 @@ cleanup: } ftdi_deinit (ftdi); + ftdi_free (ftdi); cfg_free(cfg);