backend.c: Fix memory leak in sr_init() error path
Commit 785b9ff290
added libusb init into
sr_init() which can generate an error. In this case, the already
allocated struct sr_context would have leaked.
This commit is contained in:
parent
1740429d70
commit
123d97b177
Loading…
Reference in New Issue