From: caremoli Date: Wed, 26 Sep 2007 13:59:52 +0000 (+0000) Subject: CCAR: memory leak _ptr -> _var X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ab12585a7569d698444178f611dbeb19790e04c;p=modules%2Fkernel.git CCAR: memory leak _ptr -> _var --- diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx index 2d7091e5b..d4541abac 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx @@ -277,7 +277,7 @@ bool SALOME_LifeCycleCORBA::isKnownComponentClass(const char *componentName) SALOME_ModuleCatalog::ModuleCatalog_var Catalog = SALOME_ModuleCatalog::ModuleCatalog::_narrow(obj) ; ASSERT(! CORBA::is_nil(Catalog)); - SALOME_ModuleCatalog::Acomponent_ptr compoInfo = + SALOME_ModuleCatalog::Acomponent_var compoInfo = Catalog->GetComponent(componentName); if (CORBA::is_nil (compoInfo)) {