Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
plug leak
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 24 Mar 2017 10:44:43 +0000 (11:44 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Fri, 24 Mar 2017 10:44:43 +0000 (11:44 +0100)
examples/simdag/dag-dotload/sd_dag-dotload.c

index 11260d9..24d94fe 100644 (file)
@@ -73,7 +73,8 @@ int main(int argc, char **argv)
   xbt_free(hosts);
 
   XBT_INFO("------------------- Run the schedule ---------------------------");
-  SD_simulate(-1);
+  xbt_dynar_t changed_tasks = SD_simulate(-1);
+  xbt_dynar_free(&changed_tasks);
 
   XBT_INFO("------------------- Produce the trace file---------------------------");
   XBT_INFO("Producing the trace of the run into %s", basename(tracefilename));