Valgrind still reports an error, but I suspect it is with (my version?) of
confuse.
-- 
Uwe Bonnes                [email protected]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>From 9ca44e041d71147860155db23a1f87d833b5a489 Mon Sep 17 00:00:00 2001
From: Uwe Bonnes <[email protected]>
Date: Thu, 8 Sep 2011 09:33:03 +0200
Subject: ftdi_eeprom/main.c: Clean up the FTDI structure on exit

---
 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.3.4


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to