diff options
author | Ognyan Tonchev <ognyan@axis.com> | 2014-09-17 16:23:21 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-09-19 09:38:50 +0300 |
commit | 95b6bab3cfccaa80ddef1a91fbedd7f783db82bd (patch) | |
tree | 78f6314f6493e2426c9ade3c0571066c6396a78a | |
parent | 8c802551799e820f9c83a20f49c1d7ad53fa8313 (diff) |
multipartdemux: do not leak new stream event
https://bugzilla.gnome.org/show_bug.cgi?id=736805
-rw-r--r-- | gst/multipart/multipartdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/multipart/multipartdemux.c b/gst/multipart/multipartdemux.c index a62c2a06c..5185d96b6 100644 --- a/gst/multipart/multipartdemux.c +++ b/gst/multipart/multipartdemux.c @@ -348,6 +348,7 @@ gst_multipart_find_pad_by_mime (GstMultipartDemux * demux, gchar * mime, gst_pad_push_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); |