Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] we do not need to copy the category since the request exists upon its completion
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2010 09:56:30 +0000 (09:56 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2010 09:56:30 +0000 (09:56 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9043 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/simix/smx_user.c

index abe1b07..5f28f0f 100644 (file)
@@ -700,7 +700,7 @@ void SIMIX_req_set_category(smx_action_t action, const char *category)
 
   req.call = REQ_SET_CATEGORY;
   req.set_category.action = action;
-  req.set_category.category = xbt_strdup (category);
+  req.set_category.category = category;
 
   SIMIX_request_push(&req);
 }