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
plug a bunch of memleaks
[simgrid.git]
/
examples
/
msg
/
synchro
/
synchro.c
diff --git
a/examples/msg/synchro/synchro.c
b/examples/msg/synchro/synchro.c
index
9d4e0a9
..
9a464ba
100644
(file)
--- a/
examples/msg/synchro/synchro.c
+++ b/
examples/msg/synchro/synchro.c
@@
-38,6
+38,7
@@
int main(int argc, char* argv[])
xbt_dynar_t hosts = MSG_hosts_as_dynar();
msg_host_t h = xbt_dynar_get_as(hosts,0,msg_host_t);
+ xbt_dynar_free(&hosts);
sem = MSG_sem_init(1);
char** aliceTimes = xbt_new(char*, 9);