-/* Copyright (c) 2013. The SimGrid Team.
+/* Copyright (c) 2013-2014. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
}
//set task category
+ xbt_free(task->category);
task->category = xbt_strdup (category);
XBT_DEBUG("SD task %p(%s), category %s", task, task->name, task->category);
}