X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/de3b1d47e9b8b9f35dc96bf24d28fb4ede24a683..f96c4337f949604e5d4e4b30f3ff6418ddf831ee:/src/surf/surf_routing.c?ds=sidebyside diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index a507e10547..3a5f19f20c 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -251,6 +251,7 @@ static void routing_parse_E_route(void) "no defined method \"set_route\" in \"%s\"", current_routing->name); current_routing->parse_route(current_routing, src, dst, route); + generic_free_route(route); parsed_link_list = NULL; src = NULL; dst = NULL; @@ -269,6 +270,7 @@ static void routing_parse_E_ASroute(void) "no defined method \"set_ASroute\" in \"%s\"", current_routing->name); current_routing->parse_ASroute(current_routing, src, dst, e_route); + generic_free_route(e_route); parsed_link_list = NULL; src = NULL; dst = NULL;