core: Fixup cleanup on init error
commitfc8be23868ef1161278e978568ff630f27132cb3
authorHans de Goede <hdegoede@redhat.com>
Thu, 16 May 2013 14:38:41 +0000 (16 16:38 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 16 May 2013 15:18:32 +0000 (16 17:18 +0200)
treed8ae9a9a293699619e0b85ad891cde5bb8917fd4
parent851b2570532174779670587b58240f5d91ddec36
core: Fixup cleanup on init error

-mutexes were not being destroyed on backend init failure
-hotplug_cbs_lock mutex was never being destroyed

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/core.c
libusb/version_nano.h