clutter/stage-view: Properly chain up finalize
Fix a silly copy-paste mistake. Since `GObject` is the parent class, chaining up to `dispose()` from within your `finalize()` implementation just leads to a little memory leak and nothing worse. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2799>
This commit is contained in:
parent
84538f402e
commit
768ec7b0c1
@ -1476,7 +1476,7 @@ clutter_stage_view_finalize (GObject *object)
|
|||||||
|
|
||||||
g_clear_object (&priv->framebuffer);
|
g_clear_object (&priv->framebuffer);
|
||||||
|
|
||||||
G_OBJECT_CLASS (clutter_stage_view_parent_class)->dispose (object);
|
G_OBJECT_CLASS (clutter_stage_view_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user