diff options
-rw-r--r-- | src/daemon/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index c36e31e..d582007 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -512,7 +512,7 @@ static void destroy_screen(NotifyDaemon* daemon) #endif /* HAVE_X11 */ for (i = 0; i < daemon->screen->n_stacks; i++) { - g_clear_object (&daemon->screen->stacks[i]); + g_clear_pointer (&daemon->screen->stacks[i], notify_stack_destroy); } g_free (daemon->screen->stacks); |