summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_mp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_mp.c')
-rw-r--r--src/nxt_mp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nxt_mp.c b/src/nxt_mp.c
index 4eaa16d0..d0de2c0e 100644
--- a/src/nxt_mp.c
+++ b/src/nxt_mp.c
@@ -939,12 +939,12 @@ nxt_mp_chunk_free(nxt_mp_t *mp, nxt_mp_block_t *cluster, u_char *p)
page = cluster->pages;
do {
- if (page->size != 0) {
- return NULL;
- }
+ if (page->size != 0) {
+ return NULL;
+ }
- page++;
- n--;
+ page++;
+ n--;
} while (n != 0);
/* Free cluster. */
@@ -953,9 +953,9 @@ nxt_mp_chunk_free(nxt_mp_t *mp, nxt_mp_block_t *cluster, u_char *p)
page = cluster->pages;
do {
- nxt_queue_remove(&page->link);
- page++;
- n--;
+ nxt_queue_remove(&page->link);
+ page++;
+ n--;
} while (n != 0);
nxt_rbtree_delete(&mp->blocks, &cluster->node);