X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b401e1382d2a4311e913468d525f8a8767051d..fec5fff327fcad427d0a399ebc3dbbb35de2852e:/src/surf/instr_routing.c diff --git a/src/surf/instr_routing.c b/src/surf/instr_routing.c index 0b0a772363..7dd95b1471 100644 --- a/src/surf/instr_routing.c +++ b/src/surf/instr_routing.c @@ -156,7 +156,7 @@ static void recursiveGraphExtraction (AS_t rc, container_t container, xbt_dict_t } xbt_dict_free (&nodes); xbt_dict_free (&edges); - xbt_graph_free_graph(graph,xbt_free, xbt_free, NULL); + xbt_graph_free_graph(graph, xbt_free_f, xbt_free_f, NULL); } } @@ -326,7 +326,7 @@ static void instr_routing_parse_end_platform () { xbt_dynar_free(¤tContainer); currentContainer = NULL; - xbt_dict_t filter = xbt_dict_new_homogeneous(xbt_free); + xbt_dict_t filter = xbt_dict_new_homogeneous(xbt_free_f); XBT_DEBUG ("Starting graph extraction."); recursiveGraphExtraction (surf_platf_get_root(routing_platf), PJ_container_get_root(), filter); XBT_DEBUG ("Graph extraction finished.");