Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
hopefully remove leak in permanent receive mode
authorAugustin Degomme <degomme@idpann.imag.fr>
Mon, 3 Dec 2012 11:10:47 +0000 (12:10 +0100)
committerAugustin Degomme <degomme@idpann.imag.fr>
Mon, 3 Dec 2012 11:40:21 +0000 (12:40 +0100)
src/simix/smx_network.c

index b1351cb..6fef22a 100644 (file)
@@ -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
     }