From: schnorr Date: Tue, 7 Dec 2010 09:56:30 +0000 (+0000) Subject: [trace] we do not need to copy the category since the request exists upon its completion X-Git-Tag: v3.6_beta2~880 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/dc0f34684e609a2c90793146c1c61f8b81ac801d [trace] we do not need to copy the category since the request exists upon its completion git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9043 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index abe1b0741e..5f28f0fc65 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -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); }