aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.c b/notify.c
index 19bf17e8..8dfbd6ba 100644
--- a/notify.c
+++ b/notify.c
@@ -121,7 +121,7 @@ notify_drain(void)
}
if (ne->client != NULL)
- ne->client->references--;
+ server_client_unref(ne->client);
if (ne->session != NULL)
ne->session->references--;
if (ne->window != NULL)