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
Use a mallocator for the Surf actions
[simgrid.git]
/
src
/
surf
/
network_gtnets.c
diff --git
a/src/surf/network_gtnets.c
b/src/surf/network_gtnets.c
index
8d6c950
..
2975603
100644
(file)
--- a/
src/surf/network_gtnets.c
+++ b/
src/surf/network_gtnets.c
@@
-187,7
+187,7
@@
static int action_unref(surf_action_t action)
if (action->category)
xbt_free(action->category);
#endif
-
free(
action);
+
surf_action_free(&
action);
return 1;
}
return 0;