git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
43aee24
)
libusb_init() needs libusb_exit() to avoid leak
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Tue, 8 Jun 2010 10:24:19 +0000 (12:24 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Wed, 9 Jun 2010 15:59:09 +0000 (17:59 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
7b4b987
..
69e5068
100644
(file)
--- 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);
}
/**