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
[codacy/cppcheck] Potential memory leak.
[simgrid.git]
/
src
/
smpi
/
colls
/
coll_tuned_topo.cpp
diff --git
a/src/smpi/colls/coll_tuned_topo.cpp
b/src/smpi/colls/coll_tuned_topo.cpp
index
f43cbc5
..
27f20da
100644
(file)
--- a/
src/smpi/colls/coll_tuned_topo.cpp
+++ b/
src/smpi/colls/coll_tuned_topo.cpp
@@
-451,6
+451,7
@@
ompi_coll_tree_t* ompi_coll_tuned_topo_build_in_order_bmtree(MPI_Comm comm, int
childs++;
if (childs == MAXTREEFANOUT) {
XBT_DEBUG("coll:tuned:topo:build_bmtree max fanout incorrect %d needed %d", MAXTREEFANOUT, childs);
+ delete bmtree;
return NULL;
}
}