mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-01-14 08:37:59 +08:00
fix accidental delete
This commit is contained in:
parent
e52ca3bfa9
commit
79bfe52255
@ -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…
x
Reference in New Issue
Block a user