From a171e684ac92c6434158f10b81bda885a55a06fd Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Wed, 12 Oct 2011 18:14:00 -0300 Subject: [PATCH] ghostpad: Do not unref the internal pad twice g_value_unset should already unref the internal proxypad, no need to do it again --- gst/gstghostpad.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/gstghostpad.c b/gst/gstghostpad.c index 4e8c8a8725..8e53bcd0c4 100644 --- a/gst/gstghostpad.c +++ b/gst/gstghostpad.c @@ -199,7 +199,6 @@ gst_proxy_pad_iterate_internal_links_default (GstPad * pad) g_value_set_object (&v, internal); res = gst_iterator_new_single (GST_TYPE_PAD, &v); g_value_unset (&v); - gst_object_unref (internal); return res; }