From e4b7967c9d12161f2eae410208c03bb4ed1b995c Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 13 Oct 2011 16:55:40 +0200 Subject: [PATCH] mpegtsbase: Don't leak upstream events --- gst/mpegtsdemux/mpegtsbase.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/mpegtsdemux/mpegtsbase.c b/gst/mpegtsdemux/mpegtsbase.c index f9b1fbaa37..c1e96a9e12 100644 --- a/gst/mpegtsdemux/mpegtsbase.c +++ b/gst/mpegtsdemux/mpegtsbase.c @@ -1204,6 +1204,7 @@ mpegts_base_sink_event (GstPad * pad, GstEvent * event) break; case GST_EVENT_EOS: res = gst_mpegts_base_handle_eos (base); + gst_event_unref (event); break; case GST_EVENT_FLUSH_START: mpegts_packetizer_flush (base->packetizer);