i18npool/qa/cppunit/test_textsearch.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7228c24e38363ed4684936f69eb49a7905b5a16b
Author: Zolnai Tamás <[email protected]>
Date:   Mon Nov 19 15:58:52 2012 +0100

    Stop a memory leak in text_textsearch.cxx
    
    Change-Id: I4dad05dbbe668ac7d7058cb43989f6a9f8e488a6
    Reviewed-on: https://gerrit.libreoffice.org/1118
    Reviewed-by: LuboÅ¡ Luňák <[email protected]>
    Tested-by: LuboÅ¡ Luňák <[email protected]>

diff --git a/i18npool/qa/cppunit/test_textsearch.cxx 
b/i18npool/qa/cppunit/test_textsearch.cxx
index 682a607..c26550b 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()
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to