summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18npool/qa/cppunit/test_textsearch.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/i18npool/qa/cppunit/test_textsearch.cxx b/i18npool/qa/cppunit/test_textsearch.cxx
index 682a60712c0a..c26550b950ca 100644
--- a/i18npool/qa/cppunit/test_textsearch.cxx
+++ b/i18npool/qa/cppunit/test_textsearch.cxx
@@ -92,6 +92,7 @@ void TestTextSearch::testICU()
CPPUNIT_ASSERT( nErr == U_ZERO_ERROR );
CPPUNIT_ASSERT( pRegexMatcher->end( nErr ) == 1 );
CPPUNIT_ASSERT( nErr == U_ZERO_ERROR );
+ delete pRegexMatcher;
}
void TestTextSearch::testSearches()