From: thiery Date: Tue, 7 Dec 2010 13:41:29 +0000 (+0000) Subject: MSG does not auto-destroy the MSG_comm_t objects anymore X-Git-Tag: v3.6_beta2~862 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/826f867c10d17795900746d9253107f62dfdb47d MSG does not auto-destroy the MSG_comm_t objects anymore git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9061 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/examples/msg/actions/actions.c b/examples/msg/actions/actions.c index 7e21014c57..7a00e85b9c 100644 --- a/examples/msg/actions/actions.c +++ b/examples/msg/actions/actions.c @@ -219,6 +219,7 @@ static void action_wait(xbt_dynar_t action) comm = xbt_dynar_pop_as(globals->irecvs,msg_comm_t); MSG_comm_wait(comm,-1); task = xbt_dynar_pop_as(globals->tasks,m_task_t); + MSG_comm_destroy(comm); MSG_task_destroy(task); VERB2("%s %f", name, MSG_get_clock() - clock);