X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2930ffcd796875fa5125f515bf37f02e705cabb8..804de3039e8b344955309a3adb6d9425f7f4c378:/src/surf/network.c diff --git a/src/surf/network.c b/src/surf/network.c index e7292f1973..767a0c5d6d 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -415,6 +415,10 @@ static surf_action_t communicate(const char *src_name, const char *dst_name,int /* LARGE PLATFORMS HACK: expand also with src->link and dst->link */ + /* Cleanup route if required */ + if(used_routing->finalize_route) + used_routing->finalize_route(route); + XBT_OUT; return (surf_action_t) action;