summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-06-04 19:08:16 +0200
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-12-31 00:53:49 +0000
commitbccc96073425c0ad81aa0d692d25c21c457932c1 (patch)
tree26b17b14167ff507429b52ad43ee7f25f285c429
parente40d20c84562dae384f7c7fa790d3340994e8607 (diff)
inputselector: don't leak pads in iterator
-rw-r--r--plugins/elements/gstinputselector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c
index 21579e424e..832707d0bd 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);