diff --git a/src/mem/localcache.h b/src/mem/localcache.h index 0f54dc7..4d3d55a 100644 --- a/src/mem/localcache.h +++ b/src/mem/localcache.h @@ -51,7 +51,7 @@ namespace snmalloc // allocation on the fast path. This part of the code is inspired by // mimalloc. FreeListIter - small_fast_free_lists[NUM_SIZECLASSES]; + small_fast_free_lists[NUM_SIZECLASSES] = {}; // This is the entropy for a particular thread. LocalEntropy entropy;