We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0e4621 commit 71e3d43Copy full SHA for 71e3d43
compat/mimalloc/init.c
@@ -278,11 +278,7 @@ static bool _mi_heap_init(void) {
278
_mi_memcpy_aligned(tld, &tld_empty, sizeof(*tld));
279
_mi_memcpy_aligned(heap, &_mi_heap_empty, sizeof(*heap));
280
heap->thread_id = _mi_thread_id();
281
- #if defined(_WIN32) && !defined(MI_SHARED_LIB)
282
- _mi_random_init_weak(&heap->random); // match mi_heap_main_init()
283
- #else
284
_mi_random_init(&heap->random);
285
- #endif
286
heap->cookie = _mi_heap_random_next(heap) | 1;
287
heap->keys[0] = _mi_heap_random_next(heap);
288
heap->keys[1] = _mi_heap_random_next(heap);
0 commit comments