Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix tracing tests
[simgrid.git] / src / instr / instr_paje_types.cpp
index 389ff98..c93da96 100644 (file)
@@ -52,7 +52,7 @@ void PJ_type_free (type_t type)
   xbt_dict_cursor_t cursor = nullptr;
   xbt_dict_foreach (type->values, cursor, value_name, val) {
     XBT_DEBUG("free value %s, child of %s", val->name, val->father->name);
   xbt_dict_cursor_t cursor = nullptr;
   xbt_dict_foreach (type->values, cursor, value_name, val) {
     XBT_DEBUG("free value %s, child of %s", val->name, val->father->name);
-    delete val;
+    xbt_free(val);
   }
   xbt_dict_free (&type->values);
   xbt_free (type->name);
   }
   xbt_dict_free (&type->values);
   xbt_free (type->name);