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
another leak dies
[simgrid.git]
/
src
/
surf
/
sg_platf.cpp
diff --git
a/src/surf/sg_platf.cpp
b/src/surf/sg_platf.cpp
index
112e185
..
1f6a856
100644
(file)
--- a/
src/surf/sg_platf.cpp
+++ b/
src/surf/sg_platf.cpp
@@
-158,6
+158,7
@@
void sg_platf_new_host(sg_platf_host_cbarg_t host)
char *key,*data;
xbt_dict_foreach(host->properties,cursor,key,data)
h->setProperty(key,data);
char *key,*data;
xbt_dict_foreach(host->properties,cursor,key,data)
h->setProperty(key,data);
+ xbt_dict_free(&host->properties);
}
if (host->pstate != 0)
}
if (host->pstate != 0)
@@
-353,6
+354,7
@@
void sg_platf_new_cluster(sg_platf_cluster_cbarg_t cluster)
xbt_free(host_id);
rankId++;
}
xbt_free(host_id);
rankId++;
}
+ delete radicals;
// Add a router. It is magically used thanks to the way in which surf_routing_cluster is written,
// and it's very useful to connect clusters together
// Add a router. It is magically used thanks to the way in which surf_routing_cluster is written,
// and it's very useful to connect clusters together