Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ti-connected-launchpad
lm4tools_public
Commits
cc466b1e
Commit
cc466b1e
authored
Nov 13, 2012
by
Fabio Utzig
Browse files
Free device list when libusb_open throws an error
parent
5d7468de
Changes
1
Show whitespace changes
Inline
Side-by-side
lmicdiusb/lmicdi.c
View file @
cc466b1e
...
...
@@ -198,6 +198,7 @@ main(int argc, char *argv[])
if
(
rc
!=
0
)
{
TRACE
(
ALWAYS
,
"Failed to open device. rc = %d
\n
"
,
rc
);
libusb_free_device_list
(
pDevices
,
1
);
goto
out
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment