Thanks for the bug report. I've just posted 2 patches to the list which fix
this leak:
http://www.mail-archive.com/libusbx-devel@lists.sourceforge.net/msg03403.html
http://www.mail-archive.com/libusbx-devel@lists.sourceforge.net/msg03401.html
---
Reply to this email directly or view it on GitHu
Before this patch if ie multiple hot-plug events were pending, multiple
handle_events calls would be necessary to handle them all, this patch
changes handle_events so that the poll is re-done to check for more events
if there was activity on any of the special fds.
Signed-off-by: Hans de Goede
--
Closes #150
Signed-off-by: Hans de Goede
---
libusb/core.c | 14 ++
libusb/version_nano.h | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/libusb/core.c b/libusb/core.c
index ea6adcb..b472e89 100644
--- a/libusb/core.c
+++ b/libusb/core.c
@@ -1969,6 +19
libusb_exit sets usbi_default_context to NULL, modify usbi_log_v so that
it still honors the LIBUSB_DEBUG environment variable in this case.
Signed-off-by: Hans de Goede
---
libusb/core.c | 21 ++---
libusb/version_nano.h | 2 +-
2 files changed, 15 insertions(+), 8 del
Hi all,
Ignore please (v2 coming up).
Note to self: First test, then do git send-email, not the other way around.
Regards,
Hans
On 10/15/2013 03:34 PM, Hans de Goede wrote:
> Before this patch if ie multiple hot-plug events were pending, multiple
> handle_events calls would be necessary to ha
Before this patch if ie multiple hot-plug events were pending, multiple
handle_events calls would be necessary to handle them all, this patch
changes handle_events so that the poll is re-done to check for more events
if there was activity on any of the special fds.
Signed-off-by: Hans de Goede
--
Closes #150
Signed-off-by: Hans de Goede
---
libusb/core.c | 14 ++
libusb/version_nano.h | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/libusb/core.c b/libusb/core.c
index ea6adcb..b472e89 100644
--- a/libusb/core.c
+++ b/libusb/core.c
@@ -1969,6 +19