From 768ec7b0c1128c43cd3a02b17aaccb552f9626c3 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Sun, 22 Jan 2023 18:46:01 +0100 Subject: [PATCH] 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: --- clutter/clutter/clutter-stage-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter/clutter-stage-view.c b/clutter/clutter/clutter-stage-view.c index aa98e6a62..14f21024c 100644 --- a/clutter/clutter/clutter-stage-view.c +++ b/clutter/clutter/clutter-stage-view.c @@ -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