From 5ab12585a7569d698444178f611dbeb19790e04c Mon Sep 17 00:00:00 2001 From: caremoli Date: Wed, 26 Sep 2007 13:59:52 +0000 Subject: [PATCH] CCAR: memory leak _ptr -> _var --- src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.2