mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
mssdemux: do not leak fragments
This commit is contained in:
parent
21872e78b8
commit
0704f15103
1 changed files with 2 additions and 0 deletions
|
@ -942,6 +942,8 @@ gst_mss_demux_stream_download_fragment (GstMssDemuxStream * stream,
|
|||
GST_BUFFER_DURATION (_buffer) =
|
||||
gst_mss_stream_get_fragment_gst_duration (stream->manifest_stream);
|
||||
|
||||
g_object_unref (fragment);
|
||||
|
||||
if (buffer)
|
||||
*buffer = _buffer;
|
||||
|
||||
|
|
Loading…
Reference in a new issue