Skip to content

Commit

Permalink
Update src/snmalloc/mem/corealloc.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp41 authored Oct 3, 2023
1 parent 8fe23fa commit f9c225d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snmalloc/mem/corealloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ namespace snmalloc

auto p = capptr::Alloc<CA>::unsafe_from(new (raw.unsafe_ptr()) CA(r));

// Remove excess from the permissions.
// Remove excess from the bounds.
p = Aal::capptr_bound<CA, capptr::bounds::Alloc>(p, round_sizeof);
return p;
}
Expand Down

0 comments on commit f9c225d

Please sign in to comment.