- xbt_dict_set (father->values, name, ret, nullptr);
- XBT_DEBUG("new value %s, child of %s", ret->name, ret->father->name);
- new DefineEntityValueEvent(ret);
- return ret;
+ xbt_dict_set(father->values_, name, ret_, nullptr);
+ XBT_DEBUG("new value %s, child of %s", ret_->name_, ret_->father_->name_);
+ LogEntityValue(this->ret_);
+};
+
+simgrid::instr::Value::~Value()
+{
+ /* FIXME: this should be cleanable
+ xbt_free(name);
+ xbt_free(color);
+ xbt_free(id);
+ */