aboutsummaryrefslogtreecommitdiff
path: root/cmd-load-buffer.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 /cmd-load-buffer.c
parenta5c55e439383202547e442f6afc0c8c664687728 (diff)
parentc4e811e51936edab66803a7b9e099ac135e6e19b (diff)
downloadrtmux-7acc4addb51c711afed3761302c2d3457125445c.tar.gz
rtmux-7acc4addb51c711afed3761302c2d3457125445c.tar.bz2
rtmux-7acc4addb51c711afed3761302c2d3457125445c.zip
Merge branch 'obsd-master'
Conflicts: client.c tmux.1 tmux.c
Diffstat (limited to 'cmd-load-buffer.c')
-rw-r--r--cmd-load-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-load-buffer.c b/cmd-load-buffer.c
index 3a26db39..897807d0 100644
--- a/cmd-load-buffer.c
+++ b/cmd-load-buffer.c
@@ -132,7 +132,7 @@ cmd_load_buffer_callback(struct client *c, int closed, void *data)
return;
c->stdin_callback = NULL;
- c->references--;
+ server_client_unref(c);
if (c->flags & CLIENT_DEAD)
return;