diff --git a/src/snmalloc/override/libc.h b/src/snmalloc/override/libc.h index 05a82eca0..c06ccd22e 100644 --- a/src/snmalloc/override/libc.h +++ b/src/snmalloc/override/libc.h @@ -153,7 +153,6 @@ namespace snmalloc::libc inline void* aligned_alloc(size_t alignment, size_t size) { - SNMALLOC_ASSERT((size % alignment) == 0); return memalign(alignment, size); }