From edd630882283836475ce7db1d38151d7e4407d25 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 23 Aug 2023 10:11:49 +0200 Subject: [PATCH] fix: Plug few Touchable related leaks --- lib/mks-display-picture.c | 1 + lib/mks-screen.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/mks-display-picture.c b/lib/mks-display-picture.c index 14d3a0c..f040fda 100644 --- a/lib/mks-display-picture.c +++ b/lib/mks-display-picture.c @@ -619,6 +619,7 @@ mks_display_picture_dispose (GObject *object) g_clear_object (&self->keyboard); g_clear_object (&self->mouse); g_clear_object (&self->paintable_signals); + g_clear_object (&self->touchable); G_OBJECT_CLASS (mks_display_picture_parent_class)->dispose (object); } diff --git a/lib/mks-screen.c b/lib/mks-screen.c index 7c0a14e..27cacb9 100644 --- a/lib/mks-screen.c +++ b/lib/mks-screen.c @@ -230,6 +230,7 @@ mks_screen_dispose (GObject *object) g_clear_object (&self->keyboard); g_clear_object (&self->mouse); + g_clear_object (&self->touchable); G_OBJECT_CLASS (mks_screen_parent_class)->dispose (object); }