summaryrefslogtreecommitdiff
path: root/salhelper
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-02 11:36:16 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-03 04:35:07 +0100
commit887ed7f13b3555caaf6d8f3622cd140cc72a51cb (patch)
tree64c1a5f73ac9c53749a123bf4c15b9809f2ebdc9 /salhelper
parent9999bb82fa7c9ea74bd23f2bec07ed89289d2988 (diff)
coverity#983108: fix memory leak
Change-Id: Ief22e3cbb826ab0ceca5d199c1bfd21b46e87358
Diffstat (limited to 'salhelper')
-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);