1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 10:05:46 -05:00

SDRPlay plugin: properly exit libusb at end of enumeration

This commit is contained in:
f4exb 2016-11-14 18:06:20 +01:00
parent c1aa21e1fd
commit 5996fc4f48
2 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,11 @@ PluginInterface::SamplingDevices SDRPlayPlugin::enumSampleSources()
libusb_free_device_list(devs, 1);
if (usb_context)
{
libusb_exit(usb_context);
}
return result;
}