From f9c225db95f4bf6246496ccce053c8d4967e363f Mon Sep 17 00:00:00 2001 From: Matthew Parkinson Date: Tue, 3 Oct 2023 14:34:01 +0100 Subject: [PATCH] Update src/snmalloc/mem/corealloc.h --- src/snmalloc/mem/corealloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snmalloc/mem/corealloc.h b/src/snmalloc/mem/corealloc.h index d26837b8d..e2a99f2c5 100644 --- a/src/snmalloc/mem/corealloc.h +++ b/src/snmalloc/mem/corealloc.h @@ -1040,7 +1040,7 @@ namespace snmalloc auto p = capptr::Alloc::unsafe_from(new (raw.unsafe_ptr()) CA(r)); - // Remove excess from the permissions. + // Remove excess from the bounds. p = Aal::capptr_bound(p, round_sizeof); return p; }