X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=instance.c;h=a94118f2430de4991f70708522999fc49e02b53c;hp=f8cd2c68f66804833d0f41e75e885c27c5b86a4d;hb=25d3576134e7b57ca169e8e4ebd4e4ce5dcf62dd;hpb=8ad9a3e48ddf79e08cd48073c953ea665c464005 diff --git a/instance.c b/instance.c index f8cd2c6..a94118f 100644 --- a/instance.c +++ b/instance.c @@ -280,6 +280,7 @@ SRD_API int srd_inst_channel_set_all(struct srd_decoder_inst *di, pdch = g_slist_nth(di->decoder->channels, i)->data; srd_err("Required channel '%s' (index %d) was not specified.", pdch->id, i); + g_free(new_channelmap); return SRD_ERR; }