Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Platform generation: little modifications to the connectedness check function
[simgrid.git] / src / surf / surf_routing_none.c
index 6a53d45..0342cfd 100644 (file)
@@ -62,6 +62,8 @@ AS_t model_none_create_sized(size_t childsize) {
 void model_none_finalize(AS_t as) {
   xbt_dict_free(&as->routing_sons);
   xbt_dynar_free(&as->index_network_elm);
+  if(as->link_up_down_list)
+    xbt_dynar_free(&as->link_up_down_list);
   xbt_free(as);
 }