X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1faf1e4ac5d8295ab562c45a5507a471ad4540a6..954676b700e711f38ec4d286d33d5427d3f4ca46:/src/smpi/colls/bcast-ompi-split-bintree.c diff --git a/src/smpi/colls/bcast-ompi-split-bintree.c b/src/smpi/colls/bcast-ompi-split-bintree.c index 58bf387c82..dae4d27926 100644 --- a/src/smpi/colls/bcast-ompi-split-bintree.c +++ b/src/smpi/colls/bcast-ompi-split-bintree.c @@ -1,3 +1,9 @@ +/* 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. */ + /* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology @@ -10,11 +16,9 @@ * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2009 University of Houston. All rights reserved. - * $COPYRIGHT$ * * Additional copyrights may follow * - * $HEADER$ * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: @@ -49,9 +53,8 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - + #include "colls_private.h" #include "coll_tuned_topo.h" #define MAXTREEFANOUT 32 @@ -291,6 +294,7 @@ smpi_coll_tuned_bcast_ompi_split_bintree ( void* buffer, comm, MPI_STATUS_IGNORE); } } + xbt_free(tree); return (MPI_SUCCESS);