mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +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
|
||||
gst_tag_list_add (taglist, GST_TAG_MERGE_APPEND, GST_TAG_ATTACHMENT,
|
||||
tagbuffer, NULL);
|
||||
|
||||
/* the tag list adds it own ref */
|
||||
gst_buffer_unref (tagbuffer);
|
||||
}
|
||||
|
||||
g_free (filename);
|
||||
|
|
Loading…
Reference in a new issue