summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_mp.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-06-20 13:56:28 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-06-20 13:56:28 +0300
commitc7ab908c19242a5ddd0233e123e8c2be210b3c02 (patch)
tree381d63276db0a82cc0fc328ae6fd2470ea2df7cf /src/nxt_mp.c
parentb1b9f621a44725509aa7b6eab7305542945893a3 (diff)
downloadunit-c7ab908c19242a5ddd0233e123e8c2be210b3c02.tar.gz
unit-c7ab908c19242a5ddd0233e123e8c2be210b3c02.tar.bz2
Fixed error in the previous changeset.
Diffstat (limited to 'src/nxt_mp.c')
-rw-r--r--src/nxt_mp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_mp.c b/src/nxt_mp.c
index aa6776b5..49e94ca8 100644
--- a/src/nxt_mp.c
+++ b/src/nxt_mp.c
@@ -189,6 +189,8 @@ nxt_mp_create(size_t cluster_size, size_t page_alignment, size_t page_size,
nxt_rbtree_init(&mp->blocks, nxt_mp_rbtree_compare);
nxt_queue_init(&mp->free_pages);
+ nxt_queue_init(&mp->nget_pages);
+ nxt_queue_init(&mp->get_pages);
}
return mp;