X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a8cd62135619ad52e05ae1c929ef07e166e4260..69018fc50f3c15c11e86618a06e3a2f9fc6aeeb3:/examples/simdag/sd_comm_throttling.c diff --git a/examples/simdag/sd_comm_throttling.c b/examples/simdag/sd_comm_throttling.c index a2f9f8a065..1364f6e73a 100644 --- a/examples/simdag/sd_comm_throttling.c +++ b/examples/simdag/sd_comm_throttling.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2006, 2007, 2008, 2009, 2010. The SimGrid Team. +/* Copyright (c) 2006-2010, 2012-2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -77,7 +77,9 @@ int main(int argc, char **argv) */ if (SD_task_get_state(taskC) == SD_DONE) SD_task_set_rate(taskD, 6.25); + xbt_dynar_free_container(&changed_tasks); } + xbt_dynar_free_container(&changed_tasks); XBT_DEBUG("Destroying tasks...");