diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-06-20 19:49:17 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-06-20 19:49:17 +0300 |
commit | f888a5310c1808902b4035ca3454b62bc5cf4434 (patch) | |
tree | 7425e11cdba27420d21468b0f79787834bd3c498 /src/nxt_process.c | |
parent | c7ab908c19242a5ddd0233e123e8c2be210b3c02 (diff) | |
download | unit-f888a5310c1808902b4035ca3454b62bc5cf4434.tar.gz unit-f888a5310c1808902b4035ca3454b62bc5cf4434.tar.bz2 |
Using new memory pool implementation.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c index 64fd1f19..ac294dba 100644 --- a/src/nxt_process.c +++ b/src/nxt_process.c @@ -513,7 +513,7 @@ nxt_process_port_new(nxt_process_t *process) { nxt_port_t *port; - port = nxt_mem_cache_zalloc0(process->mem_pool, sizeof(nxt_port_t)); + port = nxt_mp_zalloc(process->mem_pool, sizeof(nxt_port_t)); if (nxt_fast_path(port != NULL)) { port->id = process->last_port_id++; port->pid = process->pid; |