mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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
This commit is contained in:
parent
1d23930cd7
commit
77c9e2cd4d
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue