summaryrefslogtreecommitdiff
path: root/salhelper/qa/test_api.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'salhelper/qa/test_api.cxx')
-rw-r--r--salhelper/qa/test_api.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/salhelper/qa/test_api.cxx b/salhelper/qa/test_api.cxx
index 15c779fd4dde..8b98ef3489e0 100644
--- a/salhelper/qa/test_api.cxx
+++ b/salhelper/qa/test_api.cxx
@@ -237,6 +237,7 @@ void Test::testDerivedSimpleReferenceObject() {
delete static_cast< DerivedSimpleReferenceObject * >(p);
throw;
}
+ delete static_cast< DerivedSimpleReferenceObject * >(p);
}
CPPUNIT_TEST_SUITE_REGISTRATION(Test);