A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
plug a memleak
[simgrid.git]
/
src
/
simix
/
smx_action.c
diff --git
a/src/simix/smx_action.c
b/src/simix/smx_action.c
index
4003661
..
0f82212
100644
(file)
--- a/
src/simix/smx_action.c
+++ b/
src/simix/smx_action.c
@@
-401,6
+401,7
@@
char *SIMIX_action_get_name(smx_action_t action)
/** @brief Change the name of the action. Warning, the string you provide is not strdup()ed */
void SIMIX_action_set_name(smx_action_t action,char *name)
{
+ xbt_free(action->name);
action->name = name;
}