Commit 6b03c7f9 authored by Guillaume Revaillot's avatar Guillaume Revaillot
Browse files

usb.c: rework probe loop to _not_ free all stuff without closing if _one_ probe failed.

we return count and list of successfully probed devices, no need to free
everything if some libusb call of the last probe attempt failed.
parent 8fba7ab9
Supports Markdown
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