Properly finalize global objects in main

This commit is contained in:
Gaël Bonithon
2023-09-11 06:53:31 +02:00
parent eb85e4110a
commit c5714580a9
5 changed files with 29 additions and 11 deletions

View File

@@ -92,6 +92,8 @@ static void
xtm_app_manager_finalize (GObject *object)
{
g_array_free (XTM_APP_MANAGER (object)->apps, TRUE);
G_OBJECT_CLASS (xtm_app_manager_parent_class)->finalize (object);
}
static GPid