-/* 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
if (!category)
return;
- surf_action_set_category(surf_action, xbt_strdup(category));
+ surf_action_set_category(surf_action, category);
}
#endif /* HAVE_TRACING */