mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
matroskademux: fix leaking buffer and caps
https://bugzilla.gnome.org/show_bug.cgi?id=707688
This commit is contained in:
parent
60e72b0254
commit
a5ceab82dd
1 changed files with 3 additions and 0 deletions
|
@ -658,6 +658,9 @@ gst_matroska_read_common_parse_attached_file (GstMatroskaReadCommon * common,
|
|||
|
||||
tagsample = gst_sample_new (tagbuffer, caps, NULL, info);
|
||||
|
||||
gst_buffer_unref (tagbuffer);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
GST_DEBUG_OBJECT (common,
|
||||
"Created attachment sample: %" GST_PTR_FORMAT, tagsample);
|
||||
|
||||
|
|
Loading…
Reference in a new issue