From: ribes Date: Fri, 27 Mar 2009 12:54:34 +0000 (+0000) Subject: Fuites mémoires X-Git-Tag: new_launcher_alpha_091119~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fcdc7eb0cc6e3659cc59eee37ac00c6b9dacea44;p=modules%2Fkernel.git Fuites mémoires --- diff --git a/src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx b/src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx index 4484eba24..c6c2935e4 100644 --- a/src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx +++ b/src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx @@ -196,6 +196,8 @@ Param_Double_Port_provides_i::init_port(Engines_ParallelDSC_i * par_compo, proxy_node->start(); par_compo->InterfaceParallel_impl::_proxy->send_event(event_name.c_str(), tag_name.c_str()); } + + CORBA::string_free(proxy_ior); return port; } diff --git a/src/DSC/ParallelDSC/Param_Double_Port_uses_i.cxx b/src/DSC/ParallelDSC/Param_Double_Port_uses_i.cxx index 960445e9e..e06906f01 100644 --- a/src/DSC/ParallelDSC/Param_Double_Port_uses_i.cxx +++ b/src/DSC/ParallelDSC/Param_Double_Port_uses_i.cxx @@ -87,6 +87,7 @@ Param_Double_Port_uses_i::start_port() dislib_gabro->setEltSize(sizeof(CORBA::Double)); _provides_port->start(); + delete uport; } void