From dc0f34684e609a2c90793146c1c61f8b81ac801d Mon Sep 17 00:00:00 2001 From: schnorr Date: Tue, 7 Dec 2010 09:56:30 +0000 Subject: [PATCH] [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 --- src/simix/smx_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1