summaryrefslogtreecommitdiffstats
path: root/cmd-load-buffer.c
diff options
context:
space:
mode:
authornicm <nicm>2015-06-05 18:06:30 +0000
committernicm <nicm>2015-06-05 18:06:30 +0000
commit10e90ae01f53a67a1b7c3a2c498cefb73c6a23b4 (patch)
tree686ddf0bfa258770581eb1f05fa4006eb8c792f5 /cmd-load-buffer.c
parent8c93b768e4864be330c3d6a7962892135224f0f4 (diff)
Change deref to the more sensible unref, and add a couple I missed before.
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 8f653929..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;
- server_client_deref(c);
+ server_client_unref(c);
if (c->flags & CLIENT_DEAD)
return;