i18npool/source/localedata/saxparser.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 3381dfec2c7e601ecd3d71725ecba184bd5b7cae
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Mon May 26 16:18:10 2014 +0200

    Dispose component context when done
    
    Change-Id: Ic691d1a7136bdb02d3c94fee246920697503d5b0

diff --git a/i18npool/source/localedata/saxparser.cxx 
b/i18npool/source/localedata/saxparser.cxx
index d3647aa..c50c560 100644
--- a/i18npool/source/localedata/saxparser.cxx
+++ b/i18npool/source/localedata/saxparser.cxx
@@ -354,7 +354,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
         rParser->parseStream( source );
 
         nError = pDocHandler->nError;
-
+        css::uno::Reference<css::lang::XComponent>(
+            xContext, css::uno::UNO_QUERY_THROW)->dispose();
         return nError;
     } catch (css::uno::Exception & e) {
         std::cerr << "ERROR: " << e.Message << '\n';
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to