summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-01-16 21:49:22 +0100
committerMichael Stahl <mstahl@redhat.com>2014-01-16 21:50:59 +0100
commit2646b1594de2c156571e66e9f7eb1afbde863a3b (patch)
tree6b53951b900b5ce6b8ca8c192d4b465e865908e9 /cppuhelper
parent7b0e8b9c8541250be65ce228b67ff5adb105b732 (diff)
cppuhelper: valgrind complains about uninitialized variable...
... cppuhelper::ServcieManager::Data::Implementation::dispose Change-Id: I70a96e608f17eb6630326bbf32fff5fb5d7d4569
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/servicemanager.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx
index cefeb316bd9c..8a3bc7fb69a3 100644
--- a/cppuhelper/source/servicemanager.hxx
+++ b/cppuhelper/source/servicemanager.hxx
@@ -105,7 +105,8 @@ public:
new ImplementationInfo(
name, loader, uri, environment, constructorName, prefix,
alienContext, rdbFile)),
- constructor(0), status(STATUS_NEW)
+ constructor(0), status(STATUS_NEW),
+ dispose(false)
{}
Implementation(
@@ -118,7 +119,8 @@ public:
theComponent):
info(new ImplementationInfo(name)), constructor(0),
factory1(theFactory1), factory2(theFactory2),
- component(theComponent), status(STATUS_LOADED)
+ component(theComponent), status(STATUS_LOADED),
+ dispose(false)
{}
css::uno::Reference<css::uno::XInterface> createInstance(