diff options
author | 2015-06-05 18:06:30 +0000 | |
---|---|---|
committer | 2015-06-05 18:06:30 +0000 | |
commit | 9236dde83ee22fe1e166f9dceff444d361cef051 (patch) | |
tree | 492402a35e234af5585c2848624cebc208334da9 /usr.bin/tmux/cmd-load-buffer.c | |
parent | Instead of putting dead clients on a list and checking it every loop, (diff) | |
download | wireguard-openbsd-9236dde83ee22fe1e166f9dceff444d361cef051.tar.xz wireguard-openbsd-9236dde83ee22fe1e166f9dceff444d361cef051.zip |
Change deref to the more sensible unref, and add a couple I missed before.
Diffstat (limited to 'usr.bin/tmux/cmd-load-buffer.c')
-rw-r--r-- | usr.bin/tmux/cmd-load-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-load-buffer.c b/usr.bin/tmux/cmd-load-buffer.c index da0846cac17..f8b56c4a4e0 100644 --- a/usr.bin/tmux/cmd-load-buffer.c +++ b/usr.bin/tmux/cmd-load-buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-load-buffer.c,v 1.33 2015/06/05 18:01:12 nicm Exp $ */ +/* $OpenBSD: cmd-load-buffer.c,v 1.34 2015/06/05 18:06:30 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -132,7 +132,7 @@ cmd_load_buffer_callback(struct client *c, int closed, void *data) return; c->stdin_callback = NULL; - server_client_deref(c); + server_client_unref(c); if (c->flags & CLIENT_DEAD) return; |