mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-20 22:19:30 +03:00
spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
34f70ac183
commit
4447a432ca
1 changed files with 2 additions and 2 deletions
|
@ -316,12 +316,12 @@ void _mi_arena_free(void* p, size_t size, size_t alignment, size_t align_offset,
|
||||||
const size_t blocks = mi_block_count_of_size(size);
|
const size_t blocks = mi_block_count_of_size(size);
|
||||||
// checks
|
// checks
|
||||||
if (arena == NULL) {
|
if (arena == NULL) {
|
||||||
_mi_error_message(EINVAL, "trying to free from non-existent arena: %p, size %zu, memid: 0x%zx\n", p, size, memid);
|
_mi_error_message(EINVAL, "trying to free from nonexistent arena: %p, size %zu, memid: 0x%zx\n", p, size, memid);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mi_assert_internal(arena->field_count > mi_bitmap_index_field(bitmap_idx));
|
mi_assert_internal(arena->field_count > mi_bitmap_index_field(bitmap_idx));
|
||||||
if (arena->field_count <= mi_bitmap_index_field(bitmap_idx)) {
|
if (arena->field_count <= mi_bitmap_index_field(bitmap_idx)) {
|
||||||
_mi_error_message(EINVAL, "trying to free from non-existent arena block: %p, size %zu, memid: 0x%zx\n", p, size, memid);
|
_mi_error_message(EINVAL, "trying to free from nonexistent arena block: %p, size %zu, memid: 0x%zx\n", p, size, memid);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// potentially decommit
|
// potentially decommit
|
||||||
|
|
Loading…
Add table
Reference in a new issue