X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/28700bafbbef119ee34d7632ed7c61749995dc78..192e6259fa0a0a0b2aa296b0492e63b9785f1fc7:/examples/simdag/sd_avail.c diff --git a/examples/simdag/sd_avail.c b/examples/simdag/sd_avail.c index 096bc08892..17bed9fc0a 100644 --- a/examples/simdag/sd_avail.c +++ b/examples/simdag/sd_avail.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2012. The SimGrid Team. +/* Copyright (c) 2012-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -6,7 +6,7 @@ #include #include -#include "simdag/simdag.h" +#include "simgrid/simdag.h" #include "xbt/ex.h" #include "xbt/log.h" @@ -102,7 +102,9 @@ int main(int argc, char **argv) if (SD_task_get_state(task)==SD_DONE) SD_task_destroy(task); } + xbt_dynar_free_container(&changed_tasks); } + xbt_dynar_free_container(&changed_tasks); SD_exit(); return 0; }