Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix memory leaks in simdag examples and tests.
[simgrid.git] / examples / simdag / scheduling / minmin_test.c
index 898120f..194cb28 100644 (file)
@@ -353,6 +353,7 @@ int main(int argc, char **argv)
   xbt_dynar_foreach(dax, cursor, task) {
     SD_task_destroy(task);
   }
+  xbt_dynar_free_container(&dax);
 
   for (cursor = 0; cursor < total_nworkstations; cursor++)
     SD_workstation_free_attribute(workstations[cursor]);