From bccc96073425c0ad81aa0d692d25c21c457932c1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 4 Jun 2009 19:08:16 +0200 Subject: [PATCH] inputselector: don't leak pads in iterator --- plugins/elements/gstinputselector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index 21579e4..832707d 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/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); -- 2.7.4