From d020b505257775756ee4ad1ae632a3bfe0e0c28a Mon Sep 17 00:00:00 2001 From: agiersch Date: Thu, 27 Jan 2011 10:51:49 +0000 Subject: [PATCH] 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 --- src/simix/smx_synchro.c | 2 -- 1 file changed, 2 deletions(-) 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); } -- 2.20.1