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 again
[simgrid.git]
/
src
/
smpi
/
smpi_rma.cpp
diff --git
a/src/smpi/smpi_rma.cpp
b/src/smpi/smpi_rma.cpp
index
98d3ae5
..
0514b83
100644
(file)
--- a/
src/smpi/smpi_rma.cpp
+++ b/
src/smpi/smpi_rma.cpp
@@
-355,6
+355,7
@@
int smpi_mpi_win_complete(MPI_Win win){
win->requests=xbt_dynar_new(sizeof(MPI_Request), NULL);
smpi_mpi_waitall(size,treqs,MPI_STATUSES_IGNORE);
xbt_free(treqs);
win->requests=xbt_dynar_new(sizeof(MPI_Request), NULL);
smpi_mpi_waitall(size,treqs,MPI_STATUSES_IGNORE);
xbt_free(treqs);
+ smpi_group_unuse(win->group);
win->opened--; //we're closed for business !
return MPI_SUCCESS;
}
win->opened--; //we're closed for business !
return MPI_SUCCESS;
}
@@
-404,6
+405,7
@@
int smpi_mpi_win_wait(MPI_Win win){
win->requests=xbt_dynar_new(sizeof(MPI_Request), NULL);
smpi_mpi_waitall(size,treqs,MPI_STATUSES_IGNORE);
xbt_free(treqs);
win->requests=xbt_dynar_new(sizeof(MPI_Request), NULL);
smpi_mpi_waitall(size,treqs,MPI_STATUSES_IGNORE);
xbt_free(treqs);
+ smpi_group_unuse(win->group);
win->opened--; //we're opened for business !
return MPI_SUCCESS;
}
win->opened--; //we're opened for business !
return MPI_SUCCESS;
}