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_comm.cpp
index 452439f..017d010 100644 (file)
@@ -564,9 +564,6 @@ void Comm::finish_rma_calls() const
 
 MPI_Info Comm::info()
 {
-  if (info_ == MPI_INFO_NULL)
-    info_ = new Info();
-  info_->ref();
   return info_;
 }