From: Martin Quinson Date: Thu, 14 Sep 2017 12:57:47 +0000 (+0200) Subject: really try to plug that memleak X-Git-Tag: v3_17~123 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0aa3237e55bac6e64e85f20cbd166ec820e59b4c really try to plug that memleak --- diff --git a/src/instr/instr_paje_values.cpp b/src/instr/instr_paje_values.cpp index adefdcc7cc..a0b4a1adf0 100644 --- a/src/instr/instr_paje_values.cpp +++ b/src/instr/instr_paje_values.cpp @@ -28,11 +28,9 @@ simgrid::instr::Value::Value(const char* name, const char* color, simgrid::instr simgrid::instr::Value::~Value() { - /* FIXME: this should be cleanable - xbt_free(name); - xbt_free(color); - xbt_free(id); - */ + xbt_free(name_); + xbt_free(color_); + xbt_free(id_); } simgrid::instr::Value* simgrid::instr::Value::get_or_new(const char* name, const char* color,