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
Use xbt_strdup instead of strdup
[simgrid.git]
/
src
/
smpi
/
smpi_rma.c
diff --git
a/src/smpi/smpi_rma.c
b/src/smpi/smpi_rma.c
index
b35bc1a
..
77d4795
100644
(file)
--- a/
src/smpi/smpi_rma.c
+++ b/
src/smpi/smpi_rma.c
@@
-111,7
+111,7
@@
void smpi_mpi_win_get_group(MPI_Win win, MPI_Group* group){
}
void smpi_mpi_win_set_name(MPI_Win win, char* name){
- win->name = strdup(name);;
+ win->name =
xbt_
strdup(name);;
}
@@
-440,6
+440,3
@@
int smpi_mpi_win_wait(MPI_Win win){
win->opened--; //we're opened for business !
return MPI_SUCCESS;
}
-
-
-