Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
leak--
[simgrid.git] / src / smpi / colls / scatter / scatter-ompi.cpp
index 3ccf343..67984b0 100644 (file)
@@ -310,7 +310,9 @@ int scatter__ompi_linear_nb(const void *sbuf, int scount,
     if (MPI_SUCCESS != err) {
         line = __LINE__; goto err_hndl;
     }
-
+    if (NULL != reqs) {
+        delete[] reqs;
+    }
     return MPI_SUCCESS;
 
 err_hndl: