From 9aa23d528c48b1567e7277fb78807397c9960237 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 21 Nov 2011 12:20:06 +0100 Subject: [PATCH] Free cost table on finalize. --- src/surf/surf_routing_floyd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.20.1