remove debug statement

This commit is contained in:
Daan Leijen 2019-08-21 08:11:16 -07:00
parent 12257e5bc1
commit 311794b296

View File

@ -231,8 +231,6 @@ static bool _mi_heap_done(void) {
mi_heap_t* heap = _mi_heap_default;
if (!mi_heap_is_initialized(heap)) return true;
void* p = mi_malloc(16);
// reset default heap
_mi_heap_default = (_mi_is_main_thread() ? &_mi_heap_main : (mi_heap_t*)&_mi_heap_empty);
@ -260,7 +258,6 @@ static bool _mi_heap_done(void) {
mi_assert_internal(heap->tld->heap_backing == &_mi_heap_main);
}
#endif
mi_free(p);
return false;
}