Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] wipe out memory leaks in graphicator
[simgrid.git] / src / instr / instr_interface.c
index 00ac548..fc03a78 100644 (file)
@@ -169,6 +169,7 @@ int TRACE_platform_graph_export_graphviz (const char *filename)
   xbt_graph_t g = instr_routing_platform_graph();
   if (g == NULL) return 0;
   instr_routing_platform_graph_export_graphviz (g, filename);
+  xbt_graph_free_graph (g, xbt_free, xbt_free, NULL);
   return 1;
 }