summaryrefslogtreecommitdiffstats
path: root/cfg.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 /cfg.c
parent8c93b768e4864be330c3d6a7962892135224f0f4 (diff)
Change deref to the more sensible unref, and add a couple I missed before.
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c
index ff43976e..37474094 100644
--- a/cfg.c
+++ b/cfg.c
@@ -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;
}
}