action = xbt_mallocator_get(simix_global->action_mallocator);
action->type = SIMIX_ACTION_SLEEP;
- action->name = xbt_strdup("sleep");
+ action->name = NULL;
#ifdef HAVE_TRACING
action->category = NULL;
#endif
void SIMIX_process_sleep_destroy(smx_action_t action)
{
DEBUG1("Destroy action %p", action);
- xbt_free(action->name);
if (action->sleep.surf_sleep)
action->sleep.surf_sleep->model_type->action_unref(action->sleep.surf_sleep);
#ifdef HAVE_TRACING