]> sigrok.org Git - libsigrok.git/commit
tondaj-sl-814: fix a potential memory leak
authorGerhard Sittig <redacted>
Fri, 9 Feb 2018 18:30:45 +0000 (19:30 +0100)
committerUwe Hermann <redacted>
Fri, 9 Feb 2018 20:37:40 +0000 (21:37 +0100)
commit2da5c95f3dc6ad0c9067e23c46ae643958fca015
treeb280e7219288b5a4631c9e04a62ca9663c5379ee
parentaedbf89d85cc7efa1263f5e210c3b78097ad471a
tondaj-sl-814: fix a potential memory leak

Release an allocated device instance in an error path.

This was reported by clang's scan-build.
src/hardware/tondaj-sl-814/api.c