X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1f5649e6da1087111b7201e30e59f6e80104984c..578dd56a4a07709db1922ff5edd98f0c8f3090f9:/src/surf/AsImpl.cpp diff --git a/src/surf/AsImpl.cpp b/src/surf/AsImpl.cpp index 3a9f80e595..12d2c2f4cd 100644 --- a/src/surf/AsImpl.cpp +++ b/src/surf/AsImpl.cpp @@ -210,6 +210,7 @@ namespace simgrid { getRouteRecursive(src, route.gw_src, links, latency); for (auto link: *route.link_list) links->push_back(link); + delete route.link_list; /* If dest gateway is not our destination, we have to recursively find our way from this point */ if (route.gw_dst != dst)