A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MSG does not auto-destroy the MSG_comm_t objects anymore
[simgrid.git]
/
examples
/
msg
/
actions
/
actions.c
diff --git
a/examples/msg/actions/actions.c
b/examples/msg/actions/actions.c
index
7e21014
..
7a00e85
100644
(file)
--- 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);