summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r--src/nxt_controller.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index 78da02a8..be7bfd5d 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -721,9 +721,7 @@ nxt_controller_conn_free(nxt_task_t *task, void *obj, void *data)
nxt_sockaddr_cache_free(task->thread->engine, c);
- nxt_mp_destroy(c->mem_pool);
-
- //nxt_free(c);
+ nxt_conn_free(task, c);
}