]> sigrok.org Git - libsigrok.git/commit - src/hardware/norma-dmm/api.c
norma-dmm: fix a potential memory leak
authorGerhard Sittig <redacted>
Fri, 9 Feb 2018 18:22:14 +0000 (19:22 +0100)
committerUwe Hermann <redacted>
Fri, 9 Feb 2018 20:37:39 +0000 (21:37 +0100)
commit8eadb70a37946c268d9bef312478096e96009c3d
tree57455921741221518ad072481652f868684b6a98
parente4924d752b3a2e08d0ab90b0eb872c569c4c68c9
norma-dmm: fix a potential memory leak

Release an allocated buffer in an error path.

This was reported by clang's scan-build.
src/hardware/norma-dmm/api.c