mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
fix volatile declaration on function
This commit is contained in:
parent
efe083a548
commit
b104e434e4
1 changed files with 1 additions and 1 deletions
|
@ -702,7 +702,7 @@ static inline mi_page_t* mi_find_free_page(mi_heap_t* heap, size_t size) {
|
|||
a certain number of allocations.
|
||||
----------------------------------------------------------- */
|
||||
|
||||
static volatile mi_deferred_free_fun* deferred_free = NULL;
|
||||
static mi_deferred_free_fun* volatile deferred_free = NULL;
|
||||
|
||||
void _mi_deferred_free(mi_heap_t* heap, bool force) {
|
||||
heap->tld->heartbeat++;
|
||||
|
|
Loading…
Add table
Reference in a new issue