projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d23930
)
matroska: read: fix tag list memory leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Fri, 21 Aug 2015 04:19:02 +0000
(13:19 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Fri, 21 Aug 2015 07:22:54 +0000
(10:22 +0300)
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
gst/matroska/matroska-read-common.c
patch
|
blob
|
history
diff --git
a/gst/matroska/matroska-read-common.c
b/gst/matroska/matroska-read-common.c
index 2639251eac6e7d35f2fb0890abc1925ed08cc3f1..537fed98c8bd2d8ef5b09c2c9a0ebc1a87b04ee5 100644
(file)
--- 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) {