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 --
[simgrid.git]
/
src
/
smpi
/
smpi_pmpi.cpp
diff --git
a/src/smpi/smpi_pmpi.cpp
b/src/smpi/smpi_pmpi.cpp
index
707e29f
..
49c769a
100644
(file)
--- a/
src/smpi/smpi_pmpi.cpp
+++ b/
src/smpi/smpi_pmpi.cpp
@@
-3177,6
+3177,7
@@
int PMPI_Info_dup(MPI_Info info, MPI_Info *newinfo){
return MPI_ERR_ARG;
*newinfo = xbt_new(s_smpi_mpi_info_t, 1);
(*newinfo)->info_dict= xbt_dict_new_homogeneous(NULL);
return MPI_ERR_ARG;
*newinfo = xbt_new(s_smpi_mpi_info_t, 1);
(*newinfo)->info_dict= xbt_dict_new_homogeneous(NULL);
+ (*newinfo)->refcount=1;
xbt_dict_cursor_t cursor = NULL;
int *key;
void* data;
xbt_dict_cursor_t cursor = NULL;
int *key;
void* data;