Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix cxx flag for win build
[simgrid.git] / src / surf / instr_surf.c
index bf8339e..9975b45 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010. The SimGrid Team.
+/* Copyright (c) 2010, 2012. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -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 */