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
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git]
/
src
/
smpi
/
bindings
/
smpi_pmpi_op.cpp
diff --git
a/src/smpi/bindings/smpi_pmpi_op.cpp
b/src/smpi/bindings/smpi_pmpi_op.cpp
index
6b3bd32
..
505914e
100644
(file)
--- a/
src/smpi/bindings/smpi_pmpi_op.cpp
+++ b/
src/smpi/bindings/smpi_pmpi_op.cpp
@@
-27,7
+27,7
@@
int PMPI_Op_free(MPI_Op * op)
} else if (*op == MPI_OP_NULL) {
return MPI_ERR_OP;
} else {
-
delete (*
op);
+
simgrid::smpi::Op::unref(
op);
*op = MPI_OP_NULL;
return MPI_SUCCESS;
}