]> sigrok.org Git - libsigrok.git/commit
lecroy-xstream: Fix a potential memory leak.
authorUwe Hermann <redacted>
Sat, 19 May 2018 19:56:07 +0000 (21:56 +0200)
committerUwe Hermann <redacted>
Sat, 19 May 2018 20:01:26 +0000 (22:01 +0200)
commitd5db6ea7e17b5f8b8f13dd67fdb7e126931fdb05
tree03d209643af4280d23b6219b9ef5d08582eb1cb1
parent4fc4b8e7aa63d80bc2d2a032d0126d212d5d46ec
lecroy-xstream: Fix a potential memory leak.

Reported by scan-build:

  src/hardware/lecroy-xstream/protocol.c:680:12: warning: Potential leak of memory pointed to by 'analog.data'
                                  return SR_ERR;
                                         ^~~~~~
src/hardware/lecroy-xstream/protocol.c