From: Karl Palsson Date: Tue, 29 Nov 2016 14:01:22 +0000 (+0000) Subject: valgrind: free channels X-Git-Tag: libsigrokdecode-0.5.0~118 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d2297b8729027787f2dcbf988d42a9dfdd03fd5c;p=libsigrokdecode.git valgrind: free channels Signed-off-by: Karl Palsson --- 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;