mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
fix accidental delete
This commit is contained in:
parent
e52ca3bfa9
commit
79bfe52255
1 changed files with 1 additions and 2 deletions
|
@ -153,8 +153,7 @@ static inline mi_heap_t* mi_get_default_heap() {
|
|||
// TODO: patch ourselves dynamically to avoid this check every time?
|
||||
if (!_mi_process_is_initialized) return &_mi_heap_main;
|
||||
#endif
|
||||
return _mi_
|
||||
ault;
|
||||
return _mi_heap_default;
|
||||
}
|
||||
|
||||
static inline bool mi_heap_is_default(const mi_heap_t* heap) {
|
||||
|
|
Loading…
Add table
Reference in a new issue