mirror of
https://github.com/boostorg/core.git
synced 2025-07-29 20:37:22 +02:00
Avoid memory leak in alloc_construct_cxx11_test.cpp, because ASan diagnoses it
This commit is contained in:
@ -72,6 +72,7 @@ int main()
|
||||
BOOST_TEST_EQ(p->value(), 2);
|
||||
boost::alloc_destroy(a, p);
|
||||
BOOST_TEST_EQ(type::count, 0);
|
||||
a.deallocate(p, 1);
|
||||
return boost::report_errors();
|
||||
}
|
||||
#else
|
||||
|
Reference in New Issue
Block a user