X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1faf1e4ac5d8295ab562c45a5507a471ad4540a6..cd9affe6152d6bbec19a72ea6fe26ab9407b51b7:/src/smpi/colls/alltoallv-ompi-basic-linear.c diff --git a/src/smpi/colls/alltoallv-ompi-basic-linear.c b/src/smpi/colls/alltoallv-ompi-basic-linear.c index abc29f5082..c4218e8db7 100644 --- a/src/smpi/colls/alltoallv-ompi-basic-linear.c +++ b/src/smpi/colls/alltoallv-ompi-basic-linear.c @@ -1,3 +1,8 @@ +/* Copyright (c) 2013-2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ #include "colls_private.h" /* @@ -93,6 +98,7 @@ smpi_coll_tuned_alltoallv_ompi_basic_linear(void *sbuf, int *scounts, int *sdisp for (i = 0; i < nreqs; ++i) { if(ireqs[i]!=MPI_REQUEST_NULL)smpi_mpi_request_free(&ireqs[i]); } + free(ireqs); return MPI_SUCCESS; }