ftdi_eeprom/main.c: Clean up the FTDI structure on exit
[libftdi] / ftdi_eeprom / main.c
index 931045f..b33266f 100644 (file)
@@ -383,6 +383,7 @@ cleanup:
     }
 
     ftdi_deinit (ftdi);
+    ftdi_free (ftdi);
 
     cfg_free(cfg);