X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c1cefafb4bbcb85e9285d9172d12feefee4d4b18..be4b540460e5f67714677c3ecf9ff54d2916f0d8:/src/surf/surf_routing.cpp diff --git a/src/surf/surf_routing.cpp b/src/surf/surf_routing.cpp index 211559d5b1..6216697e01 100644 --- a/src/surf/surf_routing.cpp +++ b/src/surf/surf_routing.cpp @@ -1263,8 +1263,7 @@ static void finalize_rec(AsPtr as) { /** \brief Frees all memory allocated by the routing module */ void routing_exit(void) { - if (routing_platf) - delete routing_platf; + delete routing_platf; } RoutingPlatf::~RoutingPlatf()