coverity#983108: fix memory leak
Change-Id: Ief22e3cbb826ab0ceca5d199c1bfd21b46e87358
This commit is contained in:
@@ -237,6 +237,7 @@ void Test::testDerivedSimpleReferenceObject() {
|
||||
delete static_cast< DerivedSimpleReferenceObject * >(p);
|
||||
throw;
|
||||
}
|
||||
delete static_cast< DerivedSimpleReferenceObject * >(p);
|
||||
}
|
||||
|
||||
CPPUNIT_TEST_SUITE_REGISTRATION(Test);
|
||||
|
Reference in New Issue
Block a user