summaryrefslogtreecommitdiff
path: root/ext/dts
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-07-31 10:47:27 +0900
committerTim-Philipp Müller <tim@centricular.com>2015-07-31 10:00:13 +0100
commit9115a750f710d832ecca69c7f53ee0d947ad61f7 (patch)
treead79cd8f83952747d7dfeb27c81d953d563806d6 /ext/dts
parent0cc6d16c94d0e5ab09167b3a8d03ed0531c8f795 (diff)
downloadgstreamer-plugins-bad-9115a750f710d832ecca69c7f53ee0d947ad61f7.tar.gz
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
Diffstat (limited to 'ext/dts')
-rw-r--r--ext/dts/gstdtsdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c
index a14d08fae..a593eee32 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);
}
}