Make sure the return value of malloc_allocator::allocate is zero-initialized so that checking it for non-zero works later. * include/ext/malloc_allocator.h (malloc_allocator::allocate): Initialize the return value. * testsuite/ext/malloc_allocator/sanity.cc: New. From-SVN: r241212
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
check_allocate_max_size.cc | Loading commit data... | |
check_deallocate_null.cc | Loading commit data... | |
check_delete.cc | Loading commit data... | |
check_new.cc | Loading commit data... | |
deallocate_global.cc | Loading commit data... | |
deallocate_local.cc | Loading commit data... | |
explicit_instantiation.cc | Loading commit data... | |
overaligned.cc | Loading commit data... | |
sanity.cc | Loading commit data... | |
variadic_construct.cc | Loading commit data... |