X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a7d635337f769993338c2a737bcd6a3a8f949ee..f150764ab6d151957355c437ad66146210cbf8f9:/src/surf/surf_routing_none.c diff --git a/src/surf/surf_routing_none.c b/src/surf/surf_routing_none.c index 46d667bdd8..1887c322ed 100644 --- a/src/surf/surf_routing_none.c +++ b/src/surf/surf_routing_none.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2009, 2010, 2011. The SimGrid Team. +/* Copyright (c) 2009-2013. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -68,8 +68,7 @@ AS_t model_none_create_sized(size_t childsize) { void model_none_finalize(AS_t as) { xbt_dict_free(&as->routing_sons); xbt_dynar_free(&as->index_network_elm); - if(as->link_up_down_list) - xbt_dynar_free(&as->link_up_down_list); + xbt_dynar_free(&as->link_up_down_list); xbt_free(as); }