controlbinding: chain up on dispose and finalize
authorStefan Sauer <ensonic@users.sf.net>
Thu, 5 Apr 2012 19:56:05 +0000 (21:56 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 5 Apr 2012 19:56:05 +0000 (21:56 +0200)
gst/gstcontrolbinding.c

index f3aba1d..74d078e 100644 (file)
@@ -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