Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug another memleak, in a SD example
[simgrid.git] / examples / simdag / typed_tasks / sd_typed_tasks.c
index f22694e..88c0a9c 100644 (file)
@@ -70,6 +70,7 @@ int main(int argc, char **argv)
 
   xbt_dynar_foreach(changed_tasks, ctr, task)
     SD_task_destroy(task);
+  xbt_free(changed_tasks);
 
   xbt_free(hosts);
   SD_exit();