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
Fix memleaks with MPI_*_get_info, when info is duplicated.
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_file.cpp
diff --git
a/src/smpi/mpi/smpi_file.cpp
b/src/smpi/mpi/smpi_file.cpp
index
9dc8f69
..
4ad8f8f
100644
(file)
--- a/
src/smpi/mpi/smpi_file.cpp
+++ b/
src/smpi/mpi/smpi_file.cpp
@@
-301,9
+301,6
@@
namespace smpi{
MPI_Info File::info()
{
- if (info_ == MPI_INFO_NULL)
- info_ = new Info();
- info_->ref();
return info_;
}