Commit 6c1a4cb4 authored by Uwe Hermann's avatar Uwe Hermann

sysclk-lwla: Fix a segfault in dev_close().

parent 56c8dd82
......@@ -301,6 +301,7 @@ static int dev_close(struct sr_dev_inst *sdi)
if (ret != SR_OK)
sr_warn("Unable to shut down device.");
if (usb->devhdl)
libusb_release_interface(usb->devhdl, USB_INTERFACE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment