Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
proper closing the LINK containers at the end of the trace
authorschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 1 Oct 2010 15:20:46 +0000 (15:20 +0000)
committerschnorr <schnorr@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 1 Oct 2010 15:20:46 +0000 (15:20 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8322 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/instr/surf_instr.c

index a7b424b..5192505 100644 (file)
@@ -180,6 +180,9 @@ void TRACE_msg_clean (void)
   xbt_dict_foreach(host_containers, cursor, key, value) {
     pajeDestroyContainer (MSG_get_clock(), "HOST", key);
   }
+  xbt_dict_foreach(created_links, cursor, key, value) {
+    pajeDestroyContainer (MSG_get_clock(), "LINK", key);
+  }
 }
 
 void TRACE_surf_host_vivaldi_parse (char *host, double x, double y, double h)