X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b76973ccb7d1f21c6cbbb3199170dc6abf43383..aabd210b4d26517b0b8df0967bdf51181d37a5ca:/src/surf/surfxml_parse.c diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 56325f5382..9e07bba47c 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -259,7 +259,6 @@ void ETag_surfxml_platform(void) surfxml_call_cb_functions(ETag_surfxml_platform_cb_list); xbt_dict_free(&random_data_list); - xbt_dict_free(&set_list); } void STag_surfxml_host(void) @@ -578,6 +577,9 @@ static void free_data(void) 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; @@ -1012,10 +1014,9 @@ static void convert_route_multi_to_routes(void) } } } + xbt_dynar_free(&keys); } pop_surfxml_bufferstack(0); - xbt_dict_free(&route_multi_table); - xbt_dynar_free(&route_multi_elements); } /* Cluster tag functions */