Change deref to the more sensible unref, and add a couple I missed before.

This commit is contained in:
nicm
2015-06-05 18:06:30 +00:00
parent 8c93b768e4
commit 10e90ae01f
6 changed files with 8 additions and 8 deletions

View File

@ -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;