summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 28765deb..b54d1cf3 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -323,6 +323,8 @@ nxt_router_conf_send(nxt_task_t *task, nxt_router_temp_conf_t *tmcf,
return;
}
+ b->mem.free = nxt_cpymem(b->mem.free, start, size);
+
b->parent = tmcf->mem_pool;
b->completion_handler = nxt_router_conf_buf_completion;