From: Wim Taymans Date: Thu, 4 Jun 2009 17:08:16 +0000 (+0200) Subject: inputselector: don't leak pads in iterator X-Git-Tag: RELEASE-0.10.32~97 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bccc96073425c0ad81aa0d692d25c21c457932c1;p=platform%2Fupstream%2Fgstreamer.git inputselector: don't leak pads in iterator --- 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);