fix: Plug few Touchable related leaks

This commit is contained in:
Bilal Elmoussaoui 2023-08-23 10:11:49 +02:00
parent 9334cd4ee9
commit edd6308822
2 changed files with 2 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}