X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f13ab1807d381f0bf36027a9042e046dc4735dd5..85c342932c60954a7e1c9430742bfff2b28c31a8:/src/surf/workstation_ptask_L07.c diff --git a/src/surf/workstation_ptask_L07.c b/src/surf/workstation_ptask_L07.c index 0752e8846d..e642573795 100644 --- a/src/surf/workstation_ptask_L07.c +++ b/src/surf/workstation_ptask_L07.c @@ -404,8 +404,7 @@ static void ptask_update_resource_state(void *id, static void ptask_finalize(void) { - if (ptask_parallel_task_link_set != NULL) - xbt_dict_free(&ptask_parallel_task_link_set); + xbt_dict_free(&ptask_parallel_task_link_set); surf_model_exit(surf_workstation_model); surf_workstation_model = NULL;