projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cc6d16
)
dtsdec: fix taglist leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Fri, 31 Jul 2015 01:47:27 +0000
(10:47 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 31 Jul 2015 09:00:13 +0000
(10:00 +0100)
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
patch
|
blob
|
history
diff --git
a/ext/dts/gstdtsdec.c
b/ext/dts/gstdtsdec.c
index
a14d08f
..
a593eee
100644
(file)
--- 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);
}
}