summaryrefslogtreecommitdiff
path: root/salhelper/qa
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-02 11:35:18 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-03 04:35:07 +0100
commit9999bb82fa7c9ea74bd23f2bec07ed89289d2988 (patch)
treeeb4e70424f3dff2e4212d996a685c5ebd7a236c5 /salhelper/qa
parentf3c849fbcc9833987b6da2d4cb837bcc96e79d28 (diff)
coverity#983107: fix memory leak
Change-Id: I602510657d72455485e42e66b8ddf68413035232
Diffstat (limited to 'salhelper/qa')
-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 afddab10c204..15c779fd4dde 100644
--- a/salhelper/qa/test_api.cxx
+++ b/salhelper/qa/test_api.cxx
@@ -207,6 +207,7 @@ void Test::testSimpleReferenceObject() {
delete static_cast< DerivedSimpleReferenceObject * >(p);
throw;
}
+ delete static_cast< DerivedSimpleReferenceObject * >(p);
}
void Test::testDerivedCondition() {