Fixes to error handling and exit codepaths
authorPete Batard <pbatard@gmail.com>
Mon, 17 May 2010 22:16:54 +0000 (19:16 -0300)
committerDaniel Drake <dan@reactivated.net>
Mon, 17 May 2010 22:30:07 +0000 (19:30 -0300)
commit9996ccaed740f8fcec4287a478ccaaa573f9865a
tree2d556fc8b9d65a71804ee458389dc815332b23b3
parent371ca4e440894bd1c845971418aa24c9d3919e63
Fixes to error handling and exit codepaths

Various locks and things were being leaked/left open when handling
errors and during deinitialization.

[dsd: small tweaks]
libusb/core.c
libusb/io.c
libusb/os/threads_posix.h