mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
matroska: do not leak attachment buffers
This commit is contained in:
parent
483514528a
commit
f04d812719
1 changed files with 3 additions and 0 deletions
|
@ -633,6 +633,9 @@ gst_matroska_read_common_parse_attached_file (GstMatroskaReadCommon * common,
|
||||||
else
|
else
|
||||||
gst_tag_list_add (taglist, GST_TAG_MERGE_APPEND, GST_TAG_ATTACHMENT,
|
gst_tag_list_add (taglist, GST_TAG_MERGE_APPEND, GST_TAG_ATTACHMENT,
|
||||||
tagbuffer, NULL);
|
tagbuffer, NULL);
|
||||||
|
|
||||||
|
/* the tag list adds it own ref */
|
||||||
|
gst_buffer_unref (tagbuffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free (filename);
|
g_free (filename);
|
||||||
|
|
Loading…
Reference in a new issue