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
leaks --, for a change
[simgrid.git]
/
src
/
smpi
/
smpi_base.cpp
diff --git
a/src/smpi/smpi_base.cpp
b/src/smpi/smpi_base.cpp
index
4f8742e
..
1b0e4f4
100644
(file)
--- a/
src/smpi/smpi_base.cpp
+++ b/
src/smpi/smpi_base.cpp
@@
-691,6
+691,7
@@
static void finish_wait(MPI_Request * request, MPI_Status * status)
}else if(req->flags & RECV){//apply op on contiguous buffer for accumulate
int n =req->real_size/smpi_datatype_size(datatype);
smpi_op_apply(req->op, req->buf, req->old_buf, &n, &datatype);
+ xbt_free(req->buf);
}
}
}