Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix some more leaks
[simgrid.git] / src / smpi / colls / allgatherv-ompi-bruck.c
index dc5d2fb..c9491fa 100644 (file)
@@ -162,8 +162,8 @@ int smpi_coll_tuned_allgatherv_ompi_bruck(void *sbuf, int scount,
                                      rbuf, 1, new_rdtype, recvfrom,
                                      COLL_TAG_ALLGATHERV,
                                      comm, MPI_STATUS_IGNORE);
-      smpi_datatype_free(&new_sdtype);
-      smpi_datatype_free(&new_rdtype);
+      smpi_datatype_unuse(new_sdtype);
+      smpi_datatype_unuse(new_rdtype);
 
    }