/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "src/instr/instr_private.h"
+#include "src/instr/instr_private.hpp"
#include "surf/surf.h"
#include <string>
#include <vector>
TRACE_paje_dump_buffer(1);
/* destroy all data structures of tracing (and free) */
- PJ_container_free_all();
- recursiveDestroyType (PJ_type_get_root());
+ delete PJ_container_get_root();
+ delete PJ_type_get_root();
rootType = nullptr;
/* close the trace files */