]> AND Public Git Repository - simgrid.git/blobdiff - src/instr/instr_paje_values.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
include <string> to help OSX's clang
[simgrid.git] / src / instr / instr_paje_values.cpp
index 0eaefe26fe20c47b6220ca922be1384bf0b4bea2..84152ec3af42476253532eae74e9a7a714aa5b11 100644 (file)
@@ -29,6 +29,15 @@ value::value(const char* name, const char* color, type_t father)
   LogEntityValue(this->ret);
 };
 
+value::~value()
+{
+  /* FIXME: this should be cleanable
+  xbt_free(name);
+  xbt_free(color);
+  xbt_free(id);
+  */
+}
+
 value* value::get_or_new(const char* name, const char* color, type_t father)
 {
   value* ret = 0;