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
Replace some malloc/free by C++ new/delete.
[simgrid.git]
/
src
/
smpi
/
colls
/
scatter
/
scatter-ompi.cpp
diff --git
a/src/smpi/colls/scatter/scatter-ompi.cpp
b/src/smpi/colls/scatter/scatter-ompi.cpp
index
89737b6
..
6c14004
100644
(file)
--- a/
src/smpi/colls/scatter/scatter-ompi.cpp
+++ b/
src/smpi/colls/scatter/scatter-ompi.cpp
@@
-159,7
+159,7
@@
int Coll_scatter_ompi_binomial::scatter(void* sbuf, int scount, MPI_Datatype sdt
if (NULL != tempbuf)
smpi_free_tmp_buffer(tempbuf);
// not FIXME : store the tree, as done in ompi, instead of calculating it each time ?
-
xbt_free(
bmtree);
+
ompi_coll_tuned_topo_destroy_tree(&
bmtree);
return MPI_SUCCESS;