]> sigrok.org Git - libsigrokdecode.git/commitdiff
valgrind: free channels
authorKarl Palsson <redacted>
Tue, 29 Nov 2016 14:01:22 +0000 (14:01 +0000)
committerUwe Hermann <redacted>
Mon, 26 Dec 2016 21:50:22 +0000 (22:50 +0100)
Signed-off-by: Karl Palsson <redacted>
instance.c

index b1bfd81ce0bf2fef4281087ce5f967d3afc75061..e4cf0bfbf1b9118ac874cbbea1301f9af6ca871b 100644 (file)
@@ -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;