aboutsummaryrefslogtreecommitdiff
path: root/linker/linker_allocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linker/linker_allocator.cpp')
-rw-r--r--linker/linker_allocator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linker/linker_allocator.cpp b/linker/linker_allocator.cpp
index de3309bd5..8b05a7e65 100644
--- a/linker/linker_allocator.cpp
+++ b/linker/linker_allocator.cpp
@@ -222,6 +222,8 @@ void LinkerSmallObjectAllocator::alloc_page() {
first_block->free_blocks_cnt = free_blocks_cnt;
free_blocks_list_ = first_block;
+
+ free_pages_cnt_++;
}