Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix memleaks with MPI_*_get_info, when info is duplicated.
[simgrid.git] / src / smpi / mpi / smpi_win.cpp
index 216a200..38f901a 100644 (file)
@@ -130,9 +130,6 @@ void Win::get_group(MPI_Group* group){
 
 MPI_Info Win::info()
 {
-  if (info_ == MPI_INFO_NULL)
-    info_ = new Info();
-  info_->ref();
   return info_;
 }