malloc_allocator.h
4.97 KB
-
Make sure the return value of malloc_allocator::allocate is zero-initialized so... · b08c2bc7
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
Ville Voutilainen committed