X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Fwav.c;h=1b985edca632c3828ed4bd5ba6c857ede43c8bc6;hb=c01378c95f34e60d3b67f84dc3a6c3c6c154186d;hp=428dc73cfafbc73f09091bb49849cd3ca70b0a53;hpb=da3d141f04e9a17bd41c5adfb5c83369fe3759df;p=libsigrok.git diff --git a/src/input/wav.c b/src/input/wav.c index 428dc73c..1b985edc 100644 --- a/src/input/wav.c +++ b/src/input/wav.c @@ -258,6 +258,7 @@ static int process_buffer(struct sr_input *in) src = sr_config_new(SR_CONF_SAMPLERATE, g_variant_new_uint64(inc->samplerate)); meta.config = g_slist_append(NULL, src); sr_session_send(in->sdi, &packet); + g_slist_free(meta.config); sr_config_free(src); inc->started = TRUE;