mssdemux: do not leak fragments

This commit is contained in:
Thiago Santos 2013-01-17 16:19:54 -03:00
parent 21872e78b8
commit 0704f15103

View file

@ -942,6 +942,8 @@ gst_mss_demux_stream_download_fragment (GstMssDemuxStream * stream,
GST_BUFFER_DURATION (_buffer) = GST_BUFFER_DURATION (_buffer) =
gst_mss_stream_get_fragment_gst_duration (stream->manifest_stream); gst_mss_stream_get_fragment_gst_duration (stream->manifest_stream);
g_object_unref (fragment);
if (buffer) if (buffer)
*buffer = _buffer; *buffer = _buffer;