diff --git a/h_malloc.c b/h_malloc.c index 46e38a6..0ce2e85 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -1060,6 +1060,7 @@ COLD static void init_slow_path(void) { if (memory_protect_ro(&ro, sizeof(ro))) { fatal_error("failed to protect allocator data"); } + memory_set_name(&ro, sizeof(ro), "malloc read-only after init"); mutex_unlock(&lock);