X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fdevice.c;h=a331536c733b9c82fff8cede49025e45e30026de;hb=d3619a9b63f49a07795d91c130b37df4857843f8;hp=434d1066aac692d7a8a6f732f80938cc02f7ff02;hpb=155b680da482cea2381becb73c51cfb838bff31e;p=libsigrok.git diff --git a/src/device.c b/src/device.c index 434d1066..a331536c 100644 --- a/src/device.c +++ b/src/device.c @@ -251,6 +251,7 @@ SR_PRIV void sr_dev_inst_free(struct sr_dev_inst *sdi) for (l = sdi->channels; l; l = l->next) { ch = l->data; g_free(ch->name); + g_free(ch->priv); g_free(ch); } g_slist_free(sdi->channels);