summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-18 00:21:16 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-18 00:21:16 +0300
commit803855138c3b714c088e42a32e80939a81785944 (patch)
treef19efadd82ecfb2aa42f93a1fa67c451ca690724 /src/nxt_port.c
parenteb675f2d78178b2cdd54d934022f9b739bfa8952 (diff)
downloadunit-803855138c3b714c088e42a32e80939a81785944.tar.gz
unit-803855138c3b714c088e42a32e80939a81785944.tar.bz2
Mem pool cleanup introduced.
Used for connection mem pool cleanup, which can be used by buffers. Used for port mem pool to safely destroy linked process.
Diffstat (limited to 'src/nxt_port.c')
-rw-r--r--src/nxt_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_port.c b/src/nxt_port.c
index 4c2561d3..3f3fdd19 100644
--- a/src/nxt_port.c
+++ b/src/nxt_port.c
@@ -245,7 +245,7 @@ nxt_port_new_port_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
return;
}
- nxt_process_port_add(process, port);
+ nxt_process_port_add(task, process, port);
port->pair[0] = -1;
port->pair[1] = msg->fd;