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
Fix use after free when using SIMIX_network_wait().
[simgrid.git]
/
src
/
msg
/
gos.c
diff --git
a/src/msg/gos.c
b/src/msg/gos.c
index
24e98d7
..
1055d81
100644
(file)
--- a/
src/msg/gos.c
+++ b/
src/msg/gos.c
@@
-550,6
+550,7
@@
MSG_error_t MSG_comm_wait(msg_comm_t comm, double timeout)
task = (m_task_t) SIMIX_communication_get_src_buf(comm);
task->simdata->refcount--;
}
+ SIMIX_communication_destroy(comm);
/* FIXME: these functions are not tracable */
}