From: Arnaud Giersch Date: Mon, 21 Nov 2011 11:20:06 +0000 (+0100) Subject: Free cost table on finalize. X-Git-Tag: exp_20120216~241^2~58 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9aa23d528c48b1567e7277fb78807397c9960237 Free cost table on finalize. --- diff --git a/src/surf/surf_routing_floyd.c b/src/surf/surf_routing_floyd.c index 95292f8b33..337ca87bd5 100644 --- a/src/surf/surf_routing_floyd.c +++ b/src/surf/surf_routing_floyd.c @@ -150,8 +150,9 @@ static void floyd_finalize(AS_t rc) xbt_dict_free(&as->generic_routing.bypassRoutes); /* Delete index dict */ xbt_dict_free(&(as->generic_routing.to_index)); - /* Delete dictionary index dict, predecessor and links table */ + /* Delete predecessor and cost table */ xbt_free(as->predecessor_table); + xbt_free(as->cost_table); model_generic_finalize(rc); }