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
Move collective algorithms to separate folders
[simgrid.git]
/
src
/
s4u
/
s4u_netzone.cpp
diff --git
a/src/s4u/s4u_netzone.cpp
b/src/s4u/s4u_netzone.cpp
index
eda9c3b
..
6aa572d
100644
(file)
--- a/
src/s4u/s4u_netzone.cpp
+++ b/
src/s4u/s4u_netzone.cpp
@@
-33,9
+33,12
@@
void NetZone::seal()
NetZone::~NetZone()
{
+ for (auto nz : *children_)
+ delete nz;
delete children_;
xbt_free(name_);
}
+
std::unordered_map<std::string, std::string>* NetZone::properties()
{
return simgrid::simix::kernelImmediate([this] {