mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
controlbinding: chain up on dispose and finalize
This commit is contained in:
parent
3e92876b84
commit
7709f5514e
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue