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
Cleanup: move these frees to the right location.
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
6126fd3
..
9e07bba
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-577,6
+577,9
@@
static void free_data(void)
xbt_dict_free(&route_table);
route_link_list = NULL;
xbt_dict_free(&route_table);
route_link_list = NULL;
+ xbt_dict_free(&route_multi_table);
+ xbt_dynar_free(&route_multi_elements);
+
xbt_dict_foreach(set_list, cursor, key, data) {
xbt_dynar_t set = (xbt_dynar_t)data;
char *name;
xbt_dict_foreach(set_list, cursor, key, data) {
xbt_dynar_t set = (xbt_dynar_t)data;
char *name;
@@
-1014,8
+1017,6
@@
static void convert_route_multi_to_routes(void)
xbt_dynar_free(&keys);
}
pop_surfxml_bufferstack(0);
xbt_dynar_free(&keys);
}
pop_surfxml_bufferstack(0);
- xbt_dict_free(&route_multi_table);
- xbt_dynar_free(&route_multi_elements);
}
/* Cluster tag functions */
}
/* Cluster tag functions */