From ca8d5216fc80660b23b7d59e20cd703c39b3d8d5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 19 Oct 2022 20:50:16 +0300 Subject: [PATCH] Remove `new char[12345];` from smart_ptr_test, because it causes ASAN to fail --- test/smart_ptr_test.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/smart_ptr_test.cpp b/test/smart_ptr_test.cpp index f4ad973..ca055dc 100644 --- a/test/smart_ptr_test.cpp +++ b/test/smart_ptr_test.cpp @@ -296,8 +296,6 @@ void test() BOOST_TEST( sup2.use_count() == 2 ); std::cout << "OK\n"; - - new char[12345]; // deliberate memory leak to verify leaks detected } int main()