From d2297b8729027787f2dcbf988d42a9dfdd03fd5c Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 29 Nov 2016 14:01:22 +0000 Subject: valgrind: free channels Signed-off-by: Karl Palsson --- instance.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-70-g09d2