diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-06-05 18:06:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-06-05 18:06:31 +0000 |
commit | 286bb823f457043297b9ddaee510c602637a32fb (patch) | |
tree | 370ba6326a77a474373105d67a2df991c6dd4dd1 /usr.bin/tmux/cmd-load-buffer.c | |
parent | 340caaf32609d1ac94cba149cb3a82f52e6b784f (diff) |
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; |