summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-26 16:18:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-26 16:18:10 +0200
commit3381dfec2c7e601ecd3d71725ecba184bd5b7cae (patch)
tree7096c83f4b1ed693229889619fd6ad28681aab70 /i18npool
parent6259d1af797e6566f2c1420f84874962cb8ae4e9 (diff)
Dispose component context when done
Change-Id: Ic691d1a7136bdb02d3c94fee246920697503d5b0
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/saxparser.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/source/localedata/saxparser.cxx b/i18npool/source/localedata/saxparser.cxx
index d3647aa6bf56..c50c5601d343 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';