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
new variable for surf_action_t to contain its tracing category
[simgrid.git]
/
src
/
surf
/
network.c
diff --git
a/src/surf/network.c
b/src/surf/network.c
index
ceb9713
..
49046b6
100644
(file)
--- a/
src/surf/network.c
+++ b/
src/surf/network.c
@@
-258,6
+258,7
@@
static int net_action_unref(surf_action_t action)
#ifdef HAVE_TRACING
xbt_free (((surf_action_network_CM02_t)action)->src_name);
xbt_free (((surf_action_network_CM02_t)action)->dst_name);
+ if (action->category) xbt_free (action->category);
#endif
free(action);
return 1;