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
[surf] Don't free power_peak from the caller
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
7904fcb
..
a7b0705
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-479,6
+479,7
@@
void ETag_surfxml_host(void) {
host.coord = A_surfxml_host_coordinates;
sg_platf_new_host(&host);
+ xbt_dynar_free(&host.power_peak);
current_property_set = NULL;
}