mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-05 23:19:31 +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?
|
// TODO: patch ourselves dynamically to avoid this check every time?
|
||||||
if (!_mi_process_is_initialized) return &_mi_heap_main;
|
if (!_mi_process_is_initialized) return &_mi_heap_main;
|
||||||
#endif
|
#endif
|
||||||
return _mi_
|
return _mi_heap_default;
|
||||||
ault;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool mi_heap_is_default(const mi_heap_t* heap) {
|
static inline bool mi_heap_is_default(const mi_heap_t* heap) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue