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
else if(surf_workstation_model->action_state_get(action->synchro.sleep) == SURF_ACTION_DONE)
action->state = SIMIX_SRC_TIMEOUT;
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);
}
SIMIX_synchro_finish(action);
}