mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
gstobject: unparent the controlbinding on dispose
This commit is contained in:
parent
f2ffa0fc65
commit
3e92876b84
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ gst_object_dispose (GObject * object)
|
|||
GList *node;
|
||||
|
||||
for (node = self->control_bindings; node; node = g_list_next (node)) {
|
||||
g_object_unref (node->data);
|
||||
gst_object_unparent (node->data);
|
||||
}
|
||||
g_list_free (self->control_bindings);
|
||||
self->control_bindings = NULL;
|
||||
|
|
Loading…
Reference in a new issue