summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/notify.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-06-05 18:06:31 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-06-05 18:06:31 +0000
commit286bb823f457043297b9ddaee510c602637a32fb (patch)
tree370ba6326a77a474373105d67a2df991c6dd4dd1 /usr.bin/tmux/notify.c
parent340caaf32609d1ac94cba149cb3a82f52e6b784f (diff)
Change deref to the more sensible unref, and add a couple I missed before.
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)