X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e18a7b043d161b29d0bf3f5743cb7a570241576a..4bff2cd38194b0f95d7a0d19867f7e4e19e8a328:/src/instr/instr_config.cpp diff --git a/src/instr/instr_config.cpp b/src/instr/instr_config.cpp index 8bbe263a69..cf20d44e74 100644 --- a/src/instr/instr_config.cpp +++ b/src/instr/instr_config.cpp @@ -63,7 +63,7 @@ static int trace_precision; static bool trace_configured = false; static bool trace_active = false; -static Type* rootType = nullptr; /* the root type */ +static simgrid::instr::Type* rootType = nullptr; /* the root type */ instr_fmt_type_t instr_fmt_type = instr_fmt_paje; @@ -143,8 +143,7 @@ int TRACE_end() /* destroy all data structures of tracing (and free) */ PJ_container_free_all(); - recursiveDestroyType (PJ_type_get_root()); - PJ_container_release(); + delete PJ_type_get_root(); rootType = nullptr; /* close the trace files */