From: Arnaud Giersch Date: Thu, 28 Feb 2019 21:43:39 +0000 (+0100) Subject: Hide std::free to Sonar. X-Git-Tag: v3_22~205 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5621c4fee4e0bc791f03d2bd3c88f6b99ee4a157 Hide std::free to Sonar. --- diff --git a/teshsuite/simdag/flatifier/flatifier.cpp b/teshsuite/simdag/flatifier/flatifier.cpp index 3140fd4274..ac3b301c9c 100644 --- a/teshsuite/simdag/flatifier/flatifier.cpp +++ b/teshsuite/simdag/flatifier/flatifier.cpp @@ -68,7 +68,7 @@ static void dump_hosts() std::printf("/>\n"); } } - std::free(hosts); + xbt_free(hosts); } static void dump_links() @@ -91,7 +91,7 @@ static void dump_links() } } - std::free(links); + xbt_free(links); } static void dump_routers() @@ -173,7 +173,7 @@ static void dump_routes() } } } - std::free(hosts); + xbt_free(hosts); } static void dump_platform()