Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sorry need to be call here for compile warning.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 14 Mar 2011 14:17:47 +0000 (14:17 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 14 Mar 2011 14:17:47 +0000 (14:17 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9788 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/graph.c
testsuite/xbt/graphxml_usage.c

index 9067b1a..8fdec17 100644 (file)
@@ -159,7 +159,7 @@ void xbt_graph_free_graph(xbt_graph_t g,
   if (graph_free_function)
     (*graph_free_function) (g->data);
   free(g);
   if (graph_free_function)
     (*graph_free_function) (g->data);
   free(g);
-
+  xbt_graph_parse_lex_destroy();
   return;
 }
 
   return;
 }
 
index 7839cd7..e3927e2 100644 (file)
@@ -154,7 +154,7 @@ void test(char *graph_file)
   }
 
   xbt_graph_free_graph(graph, free_label, NULL, NULL);
   }
 
   xbt_graph_free_graph(graph, free_label, NULL, NULL);
-  xbt_graph_parse_lex_destroy();
+
 }
 
 #ifdef __BORLANDC__
 }
 
 #ifdef __BORLANDC__