X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fserialization%2Ftest%2Ftest_derived_class_ptr.cpp;h=d6385cfdf89111564a40b2249d3dd9b8ec479e42;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=07cf4385d9e8c1d6865cb7848b974b8b706770b3;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/src/boost/libs/serialization/test/test_derived_class_ptr.cpp b/ceph/src/boost/libs/serialization/test/test_derived_class_ptr.cpp index 07cf4385d..d6385cfdf 100644 --- a/ceph/src/boost/libs/serialization/test/test_derived_class_ptr.cpp +++ b/ceph/src/boost/libs/serialization/test/test_derived_class_ptr.cpp @@ -44,6 +44,7 @@ int test_main( int /* argc */, char* /* argv */[] ) } BOOST_CHECK(tb != tb1); BOOST_CHECK(*tb == *tb1); + delete tb; std::remove(testfile); return EXIT_SUCCESS; }