multipartdemux: do not leak new stream event

https://bugzilla.gnome.org/show_bug.cgi?id=736805
This commit is contained in:
Ognyan Tonchev 2014-09-17 16:23:21 +02:00 committed by Sebastian Dröge
parent 5480f6d2dd
commit 3bf81ad12c

View file

@ -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);