diff --git a/gst/gstobject.c b/gst/gstobject.c index e01e8df72b..f830402c38 100644 --- a/gst/gstobject.c +++ b/gst/gstobject.c @@ -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;