From fcdc7eb0cc6e3659cc59eee37ac00c6b9dacea44 Mon Sep 17 00:00:00 2001 From: ribes Date: Fri, 27 Mar 2009 12:54:34 +0000 Subject: [PATCH] =?utf8?q?Fuites=20m=C3=83=C2=A9moires?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx | 2 ++ src/DSC/ParallelDSC/Param_Double_Port_uses_i.cxx | 1 + 2 files changed, 3 insertions(+) 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 -- 2.39.2