mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
matroskademux: don't leak TOC chapter list
This commit is contained in:
parent
f8158baa93
commit
88ac735af3
1 changed files with 1 additions and 0 deletions
|
@ -1104,6 +1104,7 @@ gst_matroska_read_common_parse_chapter_edition (GstMatroskaReadCommon * common,
|
||||||
|
|
||||||
for (l = subentries; l; l = l->next)
|
for (l = subentries; l; l = l->next)
|
||||||
gst_toc_entry_append_sub_entry (edition_info, l->data);
|
gst_toc_entry_append_sub_entry (edition_info, l->data);
|
||||||
|
g_list_free (subentries);
|
||||||
|
|
||||||
if (is_hidden == 0 && subentries != NULL && ret == GST_FLOW_OK)
|
if (is_hidden == 0 && subentries != NULL && ret == GST_FLOW_OK)
|
||||||
gst_toc_append_entry (toc, edition_info);
|
gst_toc_append_entry (toc, edition_info);
|
||||||
|
|
Loading…
Reference in a new issue