summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/multipart/multipartdemux.c1
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);