mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-30 04:47:12 +02:00
Remove new char[12345];
from smart_ptr_test, because it causes ASAN to fail
This commit is contained in:
@ -296,8 +296,6 @@ void test()
|
|||||||
BOOST_TEST( sup2.use_count() == 2 );
|
BOOST_TEST( sup2.use_count() == 2 );
|
||||||
|
|
||||||
std::cout << "OK\n";
|
std::cout << "OK\n";
|
||||||
|
|
||||||
new char[12345]; // deliberate memory leak to verify leaks detected
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
Reference in New Issue
Block a user