From 43e1e0db95ff42b86b830a754f39d34782f43d58 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Mon, 10 Dec 2018 08:01:56 +0100 Subject: [PATCH] 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. --- src/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.c b/src/main.c index 464bf4d..a015fea 100644 --- a/src/main.c +++ b/src/main.c @@ -255,10 +255,6 @@ int main (int argc, char *argv[]) if (timeout > 0) g_source_remove (timeout); - g_object_unref (window); - g_object_unref (status_icon); - g_object_unref (task_manager); - g_object_unref (settings); return 0; }