summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000g@gmail.com>2012-11-19 15:58:52 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-11-19 15:14:38 +0000
commit7228c24e38363ed4684936f69eb49a7905b5a16b (patch)
tree8770e5a41b8825cb9802884707a3d13d75c29ed1 /i18npool
parenta05e1e4967a21f3dd5a49215d97df99a7ec84f18 (diff)
Stop a memory leak in text_textsearch.cxx
Change-Id: I4dad05dbbe668ac7d7058cb43989f6a9f8e488a6 Reviewed-on: https://gerrit.libreoffice.org/1118 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'i18npool')
-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()