bump version to 3.0.6

This commit is contained in:
Daan 2025-06-23 18:46:48 -07:00
parent 0f2cc25572
commit 6be28eda6e
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
set(mi_version_major 3)
set(mi_version_minor 0)
set(mi_version_patch 5)
set(mi_version_patch 6)
set(mi_version ${mi_version_major}.${mi_version_minor})
set(PACKAGE_VERSION ${mi_version})

View file

@ -8,7 +8,7 @@ terms of the MIT license. A copy of the license can be found in the file
#ifndef MIMALLOC_H
#define MIMALLOC_H
#define MI_MALLOC_VERSION 305 // major + 2 digits minor
#define MI_MALLOC_VERSION 306 // major + 2 digits minor
// ------------------------------------------------------
// Compiler specific attributes

View file

@ -316,7 +316,7 @@ static bool mi_page_map_set_range_prim(mi_page_t* page, size_t idx, size_t sub_i
static bool mi_page_map_set_range(mi_page_t* page, size_t idx, size_t sub_idx, size_t slice_count) {
if mi_unlikely(!mi_page_map_set_range_prim(page,idx,sub_idx,slice_count)) {
// failed to commit, call again to reset the page pointer if needed
// failed to commit, call again to reset the page pointer (if needed)
if (page!=NULL) {
mi_page_map_set_range_prim(NULL,idx,sub_idx,slice_count);
}