Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
really try to plug that memleak
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 14 Sep 2017 12:57:47 +0000 (14:57 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 14 Sep 2017 12:57:47 +0000 (14:57 +0200)
src/instr/instr_paje_values.cpp

index adefdcc..a0b4a1a 100644 (file)
@@ -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,