]> sigrok.org Git - libsigrok.git/commit
brymen-bm86x: drop redundant free call, fixup channel index
authorGerhard Sittig <redacted>
Tue, 11 Dec 2018 15:52:06 +0000 (16:52 +0100)
committerUwe Hermann <redacted>
Thu, 20 Dec 2018 15:19:42 +0000 (16:19 +0100)
commitd9a3c0b749042279cdc48208ebf802abad028b2b
treebfa8d28562176baab352ab60830009c0ced04bf5
parent2887799404414cd967ae46fe0cf1712c0c033864
brymen-bm86x: drop redundant free call, fixup channel index

Remove a free() call in an error path for a list which immediately
before the call was determined to be NULL. Use index 0 and 1 for
channels P1 and P2 respectively (the previous implementation used 0
for both channels).
src/hardware/brymen-bm86x/api.c