diff options
author | Zolnai Tamás <zolnaitamas2000g@gmail.com> | 2012-11-19 15:58:52 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-11-19 15:14:38 +0000 |
commit | 7228c24e38363ed4684936f69eb49a7905b5a16b (patch) | |
tree | 8770e5a41b8825cb9802884707a3d13d75c29ed1 /i18npool | |
parent | a05e1e4967a21f3dd5a49215d97df99a7ec84f18 (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.cxx | 1 |
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() |