ghostpad: Do not unref the internal pad twice

g_value_unset should already unref the internal proxypad, no
need to do it again
This commit is contained in:
Thiago Santos 2011-10-12 18:14:00 -03:00
parent eab6465ba8
commit a171e684ac

View file

@ -199,7 +199,6 @@ gst_proxy_pad_iterate_internal_links_default (GstPad * pad)
g_value_set_object (&v, internal); g_value_set_object (&v, internal);
res = gst_iterator_new_single (GST_TYPE_PAD, &v); res = gst_iterator_new_single (GST_TYPE_PAD, &v);
g_value_unset (&v); g_value_unset (&v);
gst_object_unref (internal);
return res; return res;
} }