Kaydet (Commit) 85e6eb78 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix memory leak

Change-Id: Idc75fd0735452ffdf6a21e3597cd3fe74f651581
üst 7f5d3b0c
...@@ -141,7 +141,6 @@ uno::Reference< uno::XInterface > OModuleRegistration::getComponentFactory( ...@@ -141,7 +141,6 @@ uno::Reference< uno::XInterface > OModuleRegistration::getComponentFactory(
xReturn = FactoryInstantiationFunction( _rxServiceManager, *pImplName, ComponentInstantiationFunction, *pServices, NULL); xReturn = FactoryInstantiationFunction( _rxServiceManager, *pImplName, ComponentInstantiationFunction, *pServices, NULL);
if (xReturn.is()) if (xReturn.is())
{ {
xReturn->acquire();
return xReturn.get(); return xReturn.get();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment