From: navarrop Date: Mon, 14 Mar 2011 14:17:47 +0000 (+0000) Subject: Sorry need to be call here for compile warning. X-Git-Tag: v3.6_beta2~172 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/779e0e58a8ec8674bef9f53c0f80ea021a4f5063 Sorry need to be call here for compile warning. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9788 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/graph.c b/src/xbt/graph.c index 9067b1a2dc..8fdec17743 100644 --- a/src/xbt/graph.c +++ b/src/xbt/graph.c @@ -159,7 +159,7 @@ void xbt_graph_free_graph(xbt_graph_t g, if (graph_free_function) (*graph_free_function) (g->data); free(g); - + xbt_graph_parse_lex_destroy(); return; } diff --git a/testsuite/xbt/graphxml_usage.c b/testsuite/xbt/graphxml_usage.c index 7839cd796c..e3927e28d8 100644 --- a/testsuite/xbt/graphxml_usage.c +++ b/testsuite/xbt/graphxml_usage.c @@ -154,7 +154,7 @@ void test(char *graph_file) } xbt_graph_free_graph(graph, free_label, NULL, NULL); - xbt_graph_parse_lex_destroy(); + } #ifdef __BORLANDC__