X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9e6224ecd95ff7b6452fe9b2c088138877797542..1687df79d61a9418bba830bbd0ab7de16e457090:/src/smpi/colls/allgatherv-ompi-neighborexchange.c?ds=sidebyside diff --git a/src/smpi/colls/allgatherv-ompi-neighborexchange.c b/src/smpi/colls/allgatherv-ompi-neighborexchange.c index 3692a38455..edf93c32cc 100644 --- a/src/smpi/colls/allgatherv-ompi-neighborexchange.c +++ b/src/smpi/colls/allgatherv-ompi-neighborexchange.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. */ /* * ompi_coll_tuned_allgatherv_intra_neighborexchange @@ -200,8 +205,8 @@ smpi_coll_tuned_allgatherv_ompi_neighborexchange(void *sbuf, int scount, send_data_from = recv_data_from[i_parity]; - smpi_datatype_free(&new_sdtype); - smpi_datatype_free(&new_rdtype); + smpi_datatype_unuse(new_sdtype); + smpi_datatype_unuse(new_rdtype); } return MPI_SUCCESS;