summaryrefslogtreecommitdiffstats
path: root/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/notify.c b/notify.c
index 10fd5ce1..696a62bf 100644
--- a/notify.c
+++ b/notify.c
@@ -120,9 +120,9 @@ notify_drain(void)
}
if (ne->client != NULL)
- ne->client->references--;
+ server_client_unref(ne->client);
if (ne->session != NULL)
- ne->session->references--;
+ session_unref(ne->session);
if (ne->window != NULL)
window_remove_ref(ne->window);