mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
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_OBJECT_CLASS (clutter_stage_view_parent_class)->dispose (object);
|
||||
G_OBJECT_CLASS (clutter_stage_view_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user