Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update MSG_task_destroy for parallel tasks
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 23 Jul 2005 00:16:50 +0000 (00:16 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sat, 23 Jul 2005 00:16:50 +0000 (00:16 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1561 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/msg/task.c

index 8d9cfa6..1fe3975 100644 (file)
@@ -131,7 +131,7 @@ MSG_error_t MSG_task_destroy(m_task_t task)
   if(action) action->resource_type->common_public->action_free(action);
   action = task->simdata->comm;
   if(action) action->resource_type->common_public->action_free(action);
   if(action) action->resource_type->common_public->action_free(action);
   action = task->simdata->comm;
   if(action) action->resource_type->common_public->action_free(action);
-
+  if(task->simdata->host_list) xbt_free(task->simdata->host_list);
 
   free(task->simdata);
   free(task);
 
   free(task->simdata);
   free(task);