X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6de9090dd8692387ae343c587b26915f9922d7bd..6de03ecc4e630732984a0673512a5d15fd75e270:/examples/simdag/dot/dot_test2.c diff --git a/examples/simdag/dot/dot_test2.c b/examples/simdag/dot/dot_test2.c index b893634199..d065aad847 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-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -49,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); }