[Xfce4-commits] [apps/xfce4-taskmanager] 03/03: Remove g_object_unref() calls at the end of main
noreply at xfce.org
noreply at xfce.org
Mon Dec 10 08:02:27 CET 2018
This is an automated email from the git hooks/post-receive script.
l a n d r y p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-taskmanager.
commit 43e1e0db95ff42b86b830a754f39d34782f43d58
Author: Landry Breuil <landry at xfce.org>
Date: Mon Dec 10 08:01:56 2018 +0100
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;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list