From 4e494b76c44b82fc04cbe9939bc10a74f051fad5 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Thu, 8 Sep 2011 10:11:27 +0200 Subject: [PATCH] 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. --- ftdi_eeprom/main.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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); -- 1.7.1