summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@etactica.com>2016-11-29 14:01:22 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2016-12-06 22:10:14 +0100
commitd2297b8729027787f2dcbf988d42a9dfdd03fd5c (patch)
treeb19c435d53bcc7fa1940dce5b8d1840270723ca2
parent95e40a0ce2e27ba6ea7c97d9956918336160bf7b (diff)
downloadlibsigrokdecode-d2297b8729027787f2dcbf988d42a9dfdd03fd5c.tar.gz
libsigrokdecode-d2297b8729027787f2dcbf988d42a9dfdd03fd5c.zip
valgrind: free channels
Signed-off-by: Karl Palsson <karlp@etactica.com>
-rw-r--r--instance.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/instance.c b/instance.c
index b1bfd81..e4cf0bf 100644
--- a/instance.c
+++ b/instance.c
@@ -612,6 +612,7 @@ SRD_PRIV void srd_inst_free(struct srd_decoder_inst *di)
Py_DecRef(di->py_inst);
g_free(di->inst_id);
g_free(di->dec_channelmap);
+ g_free(di->channel_samples);
g_slist_free(di->next_di);
for (l = di->pd_output; l; l = l->next) {
pdo = l->data;