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
Free those variables after the end of the cluster tag.
[simgrid.git]
/
src
/
surf
/
surf_routing.c
diff --git
a/src/surf/surf_routing.c
b/src/surf/surf_routing.c
index
50250c8
..
3428327
100644
(file)
--- a/
src/surf/surf_routing.c
+++ b/
src/surf/surf_routing.c
@@
-3375,9
+3375,6
@@
static void routing_parse_Scluster(void)
SURFXML_START_TAG(link);
SURFXML_END_TAG(link);
- free(link_backbone);
- free(link_router);
-
DEBUG0(" ");
#ifdef HAVE_PCRE_LIB
@@
-3510,6
+3507,8
@@
static void routing_parse_Scluster(void)
#endif
+ free(link_backbone);
+ free(link_router);
DEBUG0("</AS>");
SURFXML_END_TAG(AS);