From: Augustin Degomme Date: Fri, 7 Feb 2014 13:00:02 +0000 (+0100) Subject: fix bug waiting to happen and destroy some simulations or their results randomly... X-Git-Tag: v3_11_beta~80 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8d5e9d3ae9f7e007e1dfefc1a335d72623335e01 fix bug waiting to happen and destroy some simulations or their results randomly (mainly with MC). --- diff --git a/src/smpi/smpi_base.c b/src/smpi/smpi_base.c index 2d6a64bbce..1887ec0067 100644 --- a/src/smpi/smpi_base.c +++ b/src/smpi/smpi_base.c @@ -399,7 +399,7 @@ void smpi_mpi_start(MPI_Request request) simcall_comm_isend(mailbox, request->size, -1.0, request->buf, request->real_size, &match_send, - &smpi_mpi_request_free_voidp, // how to free the userdata if a detached send fails + &xbt_free, // how to free the userdata if a detached send fails request, // detach if msg size < eager/rdv switch limit request->detached);