diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2015-08-21 13:19:02 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-08-21 10:22:54 +0300 |
commit | 77c9e2cd4d2eff371685bba9193919990a25809a (patch) | |
tree | b5c93a6893099e3035074d5e3a7e324e51e610cd | |
parent | 1d23930cd738ac365b3ec242c2017fa67743292e (diff) | |
download | gstreamer-plugins-good-77c9e2cd4d2eff371685bba9193919990a25809a.tar.gz |
matroska: read: fix tag list memory leak
gst_toc_entry_merge_tags makes a new ref of the taglist, so it should
be unref'ed as soon as the tags are merged to the tocentry
https://bugzilla.gnome.org/show_bug.cgi?id=753904
-rw-r--r-- | gst/matroska/matroska-read-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/matroska/matroska-read-common.c b/gst/matroska/matroska-read-common.c index 2639251ea..537fed98c 100644 --- a/gst/matroska/matroska-read-common.c +++ b/gst/matroska/matroska-read-common.c @@ -757,6 +757,7 @@ gst_matroska_read_common_parse_toc_tag (GstTocEntry * entry, } gst_toc_entry_merge_tags (entry, etags, GST_TAG_MERGE_APPEND); + gst_tag_list_unref (etags); cur = gst_toc_entry_get_sub_entries (entry); while (cur != NULL) { |