From: agiersch Date: Thu, 27 Jan 2011 10:51:49 +0000 (+0000) Subject: Do not unref action twice. X-Git-Tag: v3.6_beta2~418 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d020b505257775756ee4ad1ae632a3bfe0e0c28a Do not unref action twice. It is already done in SIMIX_synchro_destroy, which is called via SIMIX_synchro_finish. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9511 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_synchro.c b/src/simix/smx_synchro.c index 82dff9e8a3..16ceb04ab4 100644 --- a/src/simix/smx_synchro.c +++ b/src/simix/smx_synchro.c @@ -80,8 +80,6 @@ void SIMIX_post_synchro(smx_action_t action) else if(surf_workstation_model->action_state_get(action->synchro.sleep) == SURF_ACTION_DONE) action->state = SIMIX_SRC_TIMEOUT; - action->synchro.sleep->model_type->action_unref(action->synchro.sleep); - SIMIX_synchro_finish(action); }