From 3e92876b84274f867ede076dfef87e8fbf2a7d02 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Thu, 5 Apr 2012 21:55:07 +0200 Subject: [PATCH] gstobject: unparent the controlbinding on dispose --- gst/gstobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;