]> sigrok.org Git - libserialport.git/commit
linux: freebsd: do check on proper pointer libserialport-unreleased
authorWolfram Sang <redacted>
Fri, 19 Feb 2016 21:25:00 +0000 (22:25 +0100)
committerUwe Hermann <redacted>
Sun, 28 Feb 2016 17:01:25 +0000 (18:01 +0100)
commit0c3f38b81b8968d78806a7a41ed351a870882b5e
tree2909dddaf65a2727b7963fa602337ef644591c62
parent3fcdc9f7d5aa9bbae3041d80ab50b83e9bef182d
linux: freebsd: do check on proper pointer

We want to check here if we added something to the list, not if the
function argument was valid. Problem spotted by Coverity, CID 50754.

Signed-off-by: Wolfram Sang <redacted>
freebsd.c
linux.c