From: Martin Quinson Date: Sun, 4 Sep 2016 09:08:18 +0000 (+0200) Subject: plug a memleak X-Git-Tag: v3_14~419^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/19688d6d38a09b18ef4f8d791f513a255197a17c plug a memleak --- diff --git a/examples/simdag/throttling/sd_throttling.c b/examples/simdag/throttling/sd_throttling.c index 65f2401b07..58b210b805 100644 --- a/examples/simdag/throttling/sd_throttling.c +++ b/examples/simdag/throttling/sd_throttling.c @@ -50,6 +50,7 @@ int main(int argc, char **argv) XBT_INFO("Task '%s' start time: %f, finish time: %f", SD_task_get_name(task), SD_task_get_start_time(task), SD_task_get_finish_time(task)); } + xbt_dynar_free(&changed_tasks); /* let throttle the communication for taskD if its parent is SD_DONE */ /* the bandwidth is 1.25e8, the data size is 1e7, and we want to throttle the bandwidth by a factor 2.