]> sigrok.org Git - libsigrok.git/commit - src/hardware/hameg-hmo/api.c
hameg-hmo: Fix two potential memory leaks.
authorUwe Hermann <redacted>
Sat, 19 May 2018 19:54:15 +0000 (21:54 +0200)
committerUwe Hermann <redacted>
Sat, 19 May 2018 20:01:21 +0000 (22:01 +0200)
commit4fc4b8e7aa63d80bc2d2a032d0126d212d5d46ec
tree48180ee68c4447aa43db29ed3dedc1109720d6e2
parent24801f4e805f5aa779a9cdff0cec42510dd1fb07
hameg-hmo: Fix two potential memory leaks.

Reported by scan-build:

  src/hardware/hameg-hmo/api.c:533:12: warning: Potential leak of memory pointed to by 'pod_enabled'
                                  return SR_ERR;
                                         ^~~~~~
src/hardware/hameg-hmo/api.c