Commit 3bf81ad1 authored by Ognyan Tonchev's avatar Ognyan Tonchev Committed by Sebastian Dröge

multipartdemux: do not leak new stream event
parent 5480f6d2
......@@ -347,6 +347,7 @@ gst_multipart_find_pad_by_mime (GstMultipartDemux * demux, gchar * mime,
gst_pad_store_sticky_event (pad, event);
g_free (stream_id);
gst_event_unref (event);
/* take the mime type, convert it to the caps name */
capsname = gst_multipart_demux_get_gstname (demux, mime);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment