diff --git a/ircd/allocator.cc b/ircd/allocator.cc index 2b418fd24..4224d683d 100644 --- a/ircd/allocator.cc +++ b/ircd/allocator.cc @@ -127,7 +127,7 @@ ircd::allocator::operator+=(profile &a, #ifdef RB_PROF_ALLOC // -------------------------------------------------- -__attribute__((alloc_size(1), malloc)) +__attribute__((alloc_size(1), malloc, returns_nonnull)) void * operator new(const size_t size) {