summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/notify.c')
-rw-r--r--usr.bin/tmux/notify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/notify.c b/usr.bin/tmux/notify.c
index 03fe7b227c3..16621954f70 100644
--- a/usr.bin/tmux/notify.c
+++ b/usr.bin/tmux/notify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: notify.c,v 1.6 2015/04/24 23:17:11 nicm Exp $ */
+/* $OpenBSD: notify.c,v 1.7 2015/06/05 18:06:30 nicm Exp $ */
/*
* Copyright (c) 2012 George Nachman <tmux@georgester.com>
@@ -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)