From: Augustin Degomme Date: Mon, 3 Dec 2012 11:10:47 +0000 (+0100) Subject: hopefully remove leak in permanent receive mode X-Git-Tag: v3_9_rc1~86^2~200 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b9734bbd2fdc60d9239ebee9f121ab7bba00c88f?ds=sidebyside hopefully remove leak in permanent receive mode --- diff --git a/src/simix/smx_network.c b/src/simix/smx_network.c index b1351cbda4..6fef22aa04 100644 --- a/src/simix/smx_network.c +++ b/src/simix/smx_network.c @@ -494,7 +494,7 @@ smx_action_t SIMIX_comm_irecv(smx_process_t dst_proc, smx_rdv_t rdv, }/*else{ XBT_DEBUG("Not yet finished, we have to wait %d\n", xbt_fifo_size(rdv->comm_fifo)); }*/ - // other_action->comm.refcount--; + other_action->comm.refcount--; SIMIX_comm_destroy(this_action); --smx_total_comms; // this creation was a pure waste }