From eff639532874f810704bd5581e308cbf7c6ad1be Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 4 Jun 2009 19:08:16 +0200 Subject: inputselector: don't leak pads in iterator --- gst/selector/gstinputselector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/selector/gstinputselector.c b/gst/selector/gstinputselector.c index 21579e42..832707d0 100644 --- a/gst/selector/gstinputselector.c +++ b/gst/selector/gstinputselector.c @@ -1417,6 +1417,7 @@ gst_input_selector_check_eos (GstElement * selector) if (!pad->eos) { done = TRUE; } + gst_object_unref (pad); break; case GST_ITERATOR_RESYNC: gst_iterator_resync (it); -- cgit v1.2.1