]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CCAR: memory leak _ptr -> _var
authorcaremoli <caremoli>
Wed, 26 Sep 2007 13:59:52 +0000 (13:59 +0000)
committercaremoli <caremoli>
Wed, 26 Sep 2007 13:59:52 +0000 (13:59 +0000)
src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx

index 2d7091e5bd9ccab2da3de6a6846b89cd91478eca..d4541abacdd231b126f6cb0dd3a7cb9010227ee2 100644 (file)
@@ -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)) 
        {