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

2
cfg.c
View File

@ -108,7 +108,7 @@ cfg_default_done(unused struct cmd_q *cmdq)
*/
if (!TAILQ_EMPTY(&cfg_client->cmdq->queue))
cmdq_continue(cfg_client->cmdq);
cfg_client->references--;
server_client_unref(cfg_client);
cfg_client = NULL;
}
}