commit | 1bb774ca7e5cb100e1fb7ac287e561b2155da70e | [log] [tgz] |
---|---|---|
author | Ludovic Rousseau <ludovic.rousseau@free.fr> | Fri Nov 01 16:04:02 2019 +0100 |
committer | Ludovic Rousseau <ludovic.rousseau@free.fr> | Sat Nov 23 18:20:50 2019 +0100 |
tree | 70874247dd57905fae7f0254e33347cd4d92c672 | |
parent | 4bf9c343598900188a48e58408aa7e340f7caf87 [diff] |
Linux backend: fix ressource leak Issue detected by Coverity: 22. leaked_handle: Handle variable fd going out of scope leaks the handle. Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)