[Libreoffice-commits] core.git: cppuhelper/source

Michael Stahl mstahl at redhat.com
Thu Jan 16 12:54:21 PST 2014


 cppuhelper/source/servicemanager.hxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 2646b1594de2c156571e66e9f7eb1afbde863a3b
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Jan 16 21:49:22 2014 +0100

    cppuhelper: valgrind complains about uninitialized variable...
    
    ... cppuhelper::ServcieManager::Data::Implementation::dispose
    
    Change-Id: I70a96e608f17eb6630326bbf32fff5fb5d7d4569

diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx
index cefeb31..8a3bc7f 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(


More information about the Libreoffice-commits mailing list