fix accidental delete

This commit is contained in:
Daan Leijen 2019-06-22 11:50:03 -07:00
parent e52ca3bfa9
commit 79bfe52255
1 changed files with 1 additions and 2 deletions

View File

@ -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) {