summaryrefslogtreecommitdiffstats
path: root/notify.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-06-07 23:42:25 +0100
committerThomas Adam <thomas@xteddy.org>2015-06-07 23:42:25 +0100
commit7acc4addb51c711afed3761302c2d3457125445c (patch)
tree03cca6f3242974dba6adc2c1d1b721a595d24a37 /notify.c
parenta5c55e439383202547e442f6afc0c8c664687728 (diff)
parentc4e811e51936edab66803a7b9e099ac135e6e19b (diff)
Merge branch 'obsd-master'
Conflicts: client.c tmux.1 tmux.c
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);