X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8936dac836a8288d60c7a8bbccfbda7c2b6233d2..5faf90176fb61aaa518448b708f13ba093432d26:/src/instr/instr_paje_types.cpp diff --git a/src/instr/instr_paje_types.cpp b/src/instr/instr_paje_types.cpp index 389ff98d77..c93da968dc 100644 --- a/src/instr/instr_paje_types.cpp +++ b/src/instr/instr_paje_types.cpp @@ -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); - delete val; + xbt_free(val); } xbt_dict_free (&type->values); xbt_free (type->name);