From 7709f5514e344874a58c132b3bfe690b44a161db Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Thu, 5 Apr 2012 21:56:05 +0200 Subject: [PATCH] controlbinding: chain up on dispose and finalize --- gst/gstcontrolbinding.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/gstcontrolbinding.c b/gst/gstcontrolbinding.c index f3aba1dcce..74d078e8ae 100644 --- a/gst/gstcontrolbinding.c +++ b/gst/gstcontrolbinding.c @@ -132,6 +132,8 @@ gst_control_binding_dispose (GObject * object) if (self->object) gst_object_replace (&self->object, NULL); + + ((GObjectClass *) gst_control_binding_parent_class)->dispose (object); } static void @@ -140,6 +142,8 @@ gst_control_binding_finalize (GObject * object) GstControlBinding *self = GST_CONTROL_BINDING (object); g_free (self->name); + + ((GObjectClass *) gst_control_binding_parent_class)->finalize (object); } static void