X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/70e080cf3328685b295bc8c34a7ddc4bafbbf025..fc5167a345c9569b12237d14937523d733fb041f:/examples/simdag/dot/dot_test2.c diff --git a/examples/simdag/dot/dot_test2.c b/examples/simdag/dot/dot_test2.c index 4a5af63c51..ea5a4c7f5e 100644 --- a/examples/simdag/dot/dot_test2.c +++ b/examples/simdag/dot/dot_test2.c @@ -1,6 +1,6 @@ /* simple test trying to load a DOT file. */ -/* Copyright (c) 2010. The SimGrid Team. +/* Copyright (c) 2010-2012. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -12,7 +12,6 @@ #include "xbt/log.h" #include "xbt/ex.h" #include -#define HAVE_JEDULE 0 XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this SimDag example"); @@ -50,6 +49,10 @@ int main(int argc, char **argv) ("----------------------------- dump tasks again ------------------------------------"); while ((task=dot_as_array[cursor++])){ SD_task_dump(task); + } + + cursor=0; + while ((task=dot_as_array[cursor++])){ SD_task_destroy(task); }