Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
hopefully remove leak in permanent receive mode
[simgrid.git] / 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
     }