X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/de3b1d47e9b8b9f35dc96bf24d28fb4ede24a683..f96c4337f949604e5d4e4b30f3ff6418ddf831ee:/src/surf/surf_routing_floyd.c?ds=sidebyside diff --git a/src/surf/surf_routing_floyd.c b/src/surf/surf_routing_floyd.c index a4e1fa3609..be0e83e33c 100644 --- a/src/surf/surf_routing_floyd.c +++ b/src/surf/surf_routing_floyd.c @@ -152,8 +152,8 @@ static void floyd_finalize(AS_t rc) xbt_dict_free(&(as->generic_routing.to_index)); /* Delete dictionary index dict, predecessor and links table */ xbt_free(as->predecessor_table); - /* Delete structure */ - xbt_free(rc); + + model_generic_finalize(rc); } }