The branch, master has been updated
       via  4486d8aa1fc1ece4b023bb22f2d2c16fb03314a2 (commit)
      from  43aee24f52720a758974d47f5319c9d57e46e51f (commit)


- Log -----------------------------------------------------------------
commit 4486d8aa1fc1ece4b023bb22f2d2c16fb03314a2
Author: Uwe Bonnes <[email protected]>
Date:   Tue Jun 8 12:24:19 2010 +0200

    libusb_init() needs libusb_exit() to avoid leak

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 7b4b987..69e5068 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -185,6 +185,7 @@ void ftdi_deinit(struct ftdi_context *ftdi)
         free(ftdi->readbuffer);
         ftdi->readbuffer = NULL;
     }
+    libusb_exit(NULL);
 }
 
 /**


hooks/post-receive
-- 
port libftdi to libusb-1.0

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

Reply via email to