Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
category will be strduped in surf.cpp: Action::setCategory. No need to
[simgrid.git] / src / surf / instr_surf.c
index 71e63b4..9975b45 100644 (file)
@@ -57,6 +57,6 @@ void TRACE_surf_action(surf_action_t surf_action, const char *category)
   if (!category)
     return;
 
-  surf_action_set_category(surf_action, xbt_strdup(category));
+  surf_action_set_category(surf_action, category);
 }
 #endif /* HAVE_TRACING */