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 another memleak, in a SD example
[simgrid.git]
/
examples
/
simdag
/
typed_tasks
/
sd_typed_tasks.c
diff --git
a/examples/simdag/typed_tasks/sd_typed_tasks.c
b/examples/simdag/typed_tasks/sd_typed_tasks.c
index
f22694e
..
88c0a9c
100644
(file)
--- a/
examples/simdag/typed_tasks/sd_typed_tasks.c
+++ b/
examples/simdag/typed_tasks/sd_typed_tasks.c
@@
-70,6
+70,7
@@
int main(int argc, char **argv)
xbt_dynar_foreach(changed_tasks, ctr, task)
SD_task_destroy(task);
+ xbt_free(changed_tasks);
xbt_free(hosts);
SD_exit();