From 66683f0dd2c203a28a0a491888e1c6208c050d95 Mon Sep 17 00:00:00 2001 From: ribes Date: Fri, 27 Mar 2009 15:28:53 +0000 Subject: [PATCH] *** empty log message *** --- src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx b/src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx index c6c2935e4..ce1add092 100644 --- a/src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx +++ b/src/DSC/ParallelDSC/Param_Double_Port_provides_i.cxx @@ -151,7 +151,7 @@ Param_Double_Port_provides_i::init_port(Engines_ParallelDSC_i * par_compo, std::cerr << "Proxy ior is : " << proxy_ior << std::endl; port = new Param_Double_Port_provides_i(CORBA::ORB::_duplicate(orb), proxy_ior, rank); - port->copyGlobalContext(par_compo); + port->copyClientGlobalContext(par_compo); // Il faut maintenant configurer les bibliothèques // de redistributions de la fonction put @@ -215,7 +215,9 @@ Param_Double_Port_provides_i::wait_init_port(Engines_ParallelDSC_i * par_compo, node_number << i; std::string event_name("WaitingNode"); event_name += node_number.str(); - std::string tag_name = (char * ) par_compo->get_proxy(port_name.c_str()); + char * proxy_ior = (char * ) par_compo->get_proxy(port_name.c_str()); + std::string tag_name(proxy_ior); + CORBA::string_free(proxy_ior); if (i == rank) par_compo->InterfaceParallel_impl::_proxy->send_event(event_name.c_str(), tag_name.c_str()); par_compo->wait_event(event_name.c_str(), tag_name.c_str()); -- 2.39.2