Skip to content

Commit

Permalink
Fix assert in the debug runtime from #3177 (#3186)
Browse files Browse the repository at this point in the history
fix assert in the debug runtime
  • Loading branch information
ncik-roberts authored Oct 27, 2024
1 parent baf80c6 commit 9a7cc9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/shared_heap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,7 @@ void caml_compact_heap(caml_domain_state* domain_state,
heap->stats.pool_words -= POOL_WSIZE;
heap->stats.pool_frag_words -= POOL_HEADER_WSIZE + wastage_sizeclass[sz];
last = cur_pool;
cur_pool->owner = NULL;
cur_pool = cur_pool->next;
freed_pools++;
}
Expand Down

0 comments on commit 9a7cc9f

Please sign in to comment.