]> sigrok.org Git - libsigrok.git/commitdiff
kingst-la2016: rephrase 'sdi' resource release during scan
authorGerhard Sittig <redacted>
Thu, 5 Oct 2023 16:11:18 +0000 (18:11 +0200)
committerGerhard Sittig <redacted>
Mon, 16 Oct 2023 20:19:28 +0000 (22:19 +0200)
Eliminate an incomplete local copy of sdi resource release code in an
error path of scan/probe. Use common code instead to free the sdi.

Assign opaque pointers to intermediate variables before passing their
values to other routines. Should slightly increase readability and
data type safety. Also close the USB handle if it's open at this time.


No differences found