From 9115a750f710d832ecca69c7f53ee0d947ad61f7 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Fri, 31 Jul 2015 10:47:27 +0900 Subject: [PATCH] dtsdec: fix taglist leak taglist merge doesnt take ownership. So should free the tags after use https://bugzilla.gnome.org/show_bug.cgi?id=753086 --- ext/dts/gstdtsdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c index a14d08fae9..a593eee327 100644 --- a/ext/dts/gstdtsdec.c +++ b/ext/dts/gstdtsdec.c @@ -442,6 +442,8 @@ gst_dtsdec_update_streaminfo (GstDtsDec * dts) (guint) dts->bit_rate, NULL); gst_audio_decoder_merge_tags (GST_AUDIO_DECODER (dts), taglist, GST_TAG_MERGE_REPLACE); + if (taglist) + gst_tag_list_unref (taglist); } }