Remove g_object_unref() calls at the end of main

They trigger SIGBUS upon exit on OpenBSD (a sign of double-free?) and valgrind
complains loudly about them on Linux.
This commit is contained in:
Landry Breuil
2018-12-10 08:01:56 +01:00
parent 203514ff96
commit 43e1e0db95

View File

@@ -255,10 +255,6 @@ int main (int argc, char *argv[])
if (timeout > 0) if (timeout > 0)
g_source_remove (timeout); g_source_remove (timeout);
g_object_unref (window);
g_object_unref (status_icon);
g_object_unref (task_manager);
g_object_unref (settings);
return 0; return 0;
} }