From 9999bb82fa7c9ea74bd23f2bec07ed89289d2988 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 2 Mar 2013 11:35:18 +0100 Subject: coverity#983107: fix memory leak Change-Id: I602510657d72455485e42e66b8ddf68413035232 --- salhelper/qa/test_api.cxx | 1 + 1 file changed, 1 insertion(+) 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() { -- cgit v1.2.3