summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_process.c')
-rw-r--r--src/nxt_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c
index 272837b6..1b01713d 100644
--- a/src/nxt_process.c
+++ b/src/nxt_process.c
@@ -61,8 +61,8 @@ nxt_process_create(nxt_task_t *task, nxt_process_t *process)
nxt_process_close_ports(task, p);
} else {
- nxt_port_mmaps_destroy(p->incoming, 0);
- nxt_port_mmaps_destroy(p->outgoing, 0);
+ nxt_port_mmaps_destroy(&p->incoming, 0);
+ nxt_port_mmaps_destroy(&p->outgoing, 0);
}
} nxt_runtime_process_loop;