]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/network_gtnets.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Handle failed tasks in update_resource_state function instead of the update_action_st...
[simgrid.git] / src / surf / network_gtnets.c
index fb04b380d326c11aa5cc49f0b2aeb46b4b11a0d8..a37cdac2bbde713847b5aeb12aae465b56b0438f 100644 (file)
@@ -301,7 +301,6 @@ static void add_route()
       route_new(src_id, dst_id, link_name, nb_link);
     if (nb_link == 1)
       route_onehop_new(src_id, dst_id, link_name, nb_link);
-    xbt_dynar_free(&links);
    }
 
    xbt_dict_free(&route_table);