X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8b31411ad567a87b51085f1514b1ecaca54c47b6..99a42d5d15b6a07e3005056dcf707d3a41671743:/src/smpi/smpi_rma.c diff --git a/src/smpi/smpi_rma.c b/src/smpi/smpi_rma.c index 77d4795229..859bd918db 100644 --- a/src/smpi/smpi_rma.c +++ b/src/smpi/smpi_rma.c @@ -1,5 +1,5 @@ -/* Copyright (c) 2007-2014. The SimGrid Team. +/* Copyright (c) 2007-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -89,7 +89,7 @@ int smpi_mpi_win_free( MPI_Win* win){ MPI_Info_free(&(*win)->info); } xbt_free(*win); - win = MPI_WIN_NULL; + *win = MPI_WIN_NULL; return MPI_SUCCESS; }