summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-06-04 19:08:16 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-06-04 19:09:34 +0200
commiteff639532874f810704bd5581e308cbf7c6ad1be (patch)
treed2c9d983a69faf5f09db2efb0c59fe11325c4aa2
parent8eac0482fdebf7bd8874daa18d9ca0bd4e6a6901 (diff)
downloadgst-plugins-bad-eff639532874f810704bd5581e308cbf7c6ad1be.tar.gz
gst-plugins-bad-eff639532874f810704bd5581e308cbf7c6ad1be.tar.bz2
gst-plugins-bad-eff639532874f810704bd5581e308cbf7c6ad1be.zip
inputselector: don't leak pads in iterator
-rw-r--r--gst/selector/gstinputselector.c1
1 files changed, 1 insertions, 0 deletions
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);