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 memleak
[simgrid.git]
/
src
/
kernel
/
routing
/
ClusterZone.cpp
diff --git
a/src/kernel/routing/ClusterZone.cpp
b/src/kernel/routing/ClusterZone.cpp
index
b3363f9
..
41ebd69
100644
(file)
--- a/
src/kernel/routing/ClusterZone.cpp
+++ b/
src/kernel/routing/ClusterZone.cpp
@@
-143,6
+143,7
@@
void ClusterZone::create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id
linkUp = surf::LinkImpl::byName(link_id);
linkDown = linkUp;
}
+ xbt_free(link_id);
privateLinks_.insert({position, {linkUp, linkDown}});
}
}