]> sigrok.org Git - libsigrok.git/commit
demo: Fix memory leak
authorMarc Schink <redacted>
Wed, 30 Oct 2019 09:11:34 +0000 (10:11 +0100)
committerUwe Hermann <redacted>
Sat, 2 Nov 2019 14:32:22 +0000 (15:32 +0100)
commitf216309fd0576dfe5bad25fa91ade3db35d66a5f
tree1294706bda013efdcb26b65c918b5b8c7f2e4945
parent76dea519e4a459440dd0412e9df00b43b1765b34
demo: Fix memory leak

How to reproduce:

 $ G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --leak-check=full sigrok-cli --scan --driver demo

Signed-off-by: Marc Schink <redacted>
src/hardware/demo/api.c
src/hardware/demo/protocol.c
src/hardware/demo/protocol.h