libusb Trac | 5 May 15:48 2012

[libusb] #130: libusb-compat-0.1 does not call libusb_exit()

#130: libusb-compat-0.1 does not call libusb_exit()
--------------------------------+--------------------------
  Reporter:  xiaofan            |     Owner:
      Type:  defect             |    Status:  new
 Component:  libusb-compat-0.1  |  Keywords:  libusb-compat
Blocked By:                     |    Blocks:
--------------------------------+--------------------------
 There is a potential problem in the libusb-compat layer because libusb-1.0
 requires a call to libusb_exit().  However, libusb_exit() is never called
 by the
 compat layer even though libusb_init() is used.
 http://git.libusb.org/?p=libusb-compat-0.1.git;a=blob;f=libusb/core.c;js=1

 Also ref here which shows that libusb_exit() is really necessary.
 http://libusb.6.n5.nabble.com/quot-memory-leak-quot-debug-message-after-
 libusb-close-and-upon-application-exit-td5581475.html

--

-- 
Ticket URL: <http://libusb.org/ticket/130>
libusb <http://libusb.org/>
C library for writing portable USB drivers in userspace
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane