mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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:
parent
eab6465ba8
commit
a171e684ac
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue