Skip to content

Conversation

@encounter
Copy link

Without this fix, the test returns:

test: heap_arena_destroy...  mimalloc: assertion failed: at "/mimalloc/src/arena.c":1009, _mi_arenas_free
  assertion: "(size%MI_ARENA_SLICE_SIZE)==0"
Aborted                    (core dumped) build/debug/mimalloc-test-api

Added tests for both mi_heap_delete and mi_heap_destroy (with allow_destroy set to true).

@encounter
Copy link
Author

@microsoft-github-policy-service agree

encounter added a commit to decompals/wibo that referenced this pull request Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant