X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/20bbf9b0608d4ab29fb25ab4f795001d0cdca5b5..740d50812a81c59013f22888ab313da5a8113227:/src/mc/mc_smx.cpp diff --git a/src/mc/mc_smx.cpp b/src/mc/mc_smx.cpp index 9abf26bcda..205fcf7ed3 100644 --- a/src/mc/mc_smx.cpp +++ b/src/mc/mc_smx.cpp @@ -5,14 +5,17 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include +#include #include -#include +#include +#include +#include #include "src/simix/smx_private.h" #include "src/mc/mc_smx.h" -#include "ModelChecker.hpp" +#include "src/mc/ModelChecker.hpp" using simgrid::mc::remote; @@ -22,7 +25,7 @@ static void MC_smx_process_info_clear(mc_smx_process_info_t p) { p->hostname = nullptr; - free(p->name); + std::free(p->name); p->name = nullptr; }