Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
instr: fix a new/free mismatch, and small cleanups
[simgrid.git] / src / instr / instr_config.cpp
index 9e5889a..cf20d44 100644 (file)
@@ -143,7 +143,7 @@ int TRACE_end()
 
     /* destroy all data structures of tracing (and free) */
     PJ_container_free_all();
-    recursiveDestroyType (PJ_type_get_root());
+    delete PJ_type_get_root();
     rootType = nullptr;
 
     /* close the trace files */