diff --git a/src/mem/corealloc.h b/src/mem/corealloc.h index 87c6aa7..60d29eb 100644 --- a/src/mem/corealloc.h +++ b/src/mem/corealloc.h @@ -747,7 +747,7 @@ namespace snmalloc else error("debug_is_empty: found non-empty allocator"); } - curr = currmeta->link.get_next(); + curr = curr->get_next(); } } }; diff --git a/src/mem/metaslab.h b/src/mem/metaslab.h index 6212faa..0c9954a 100644 --- a/src/mem/metaslab.h +++ b/src/mem/metaslab.h @@ -32,8 +32,6 @@ namespace snmalloc /** * Data-structure for building the free list for this slab. - * - * Spare 32bits are used for the fields in MetaslabEnd. */ #ifdef SNMALLOC_CHECK_CLIENT FreeListBuilder free_queue;