summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--o3tl/qa/test-sorted_vector.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/o3tl/qa/test-sorted_vector.cxx b/o3tl/qa/test-sorted_vector.cxx
index 8e9e719f2c1d..ee2e818a555e 100644
--- a/o3tl/qa/test-sorted_vector.cxx
+++ b/o3tl/qa/test-sorted_vector.cxx
@@ -98,6 +98,7 @@ public:
aVec.insert(p3);
aVec.DeleteAndDestroyAll();
CPPUNIT_ASSERT( aVec.size() == 0 );
+ delete p4;
}
void testInsertRange()
@@ -131,6 +132,7 @@ public:
CPPUNIT_ASSERT( aVec.lower_bound(p1) == aVec.begin() );
CPPUNIT_ASSERT( aVec.lower_bound(p4) == aVec.end() );
+ delete p4;
}
void testBasics_FindPtr()
@@ -239,6 +241,7 @@ public:
aVec.DeleteAndDestroyAll();
CPPUNIT_ASSERT( aVec.size() == 0 );
+ delete p4;
}