X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7fd384a4f660defe96fc76a1ddaa3e56c675a9ef..d155fd69fa99c97b3a9c86bb7f2e472c2e7332df:/src/surf/network.c diff --git a/src/surf/network.c b/src/surf/network.c index 73d6095ee4..0d7f5ba3a2 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -665,10 +665,9 @@ static void net_finalize(surf_model_t network_model) surf_model_exit(network_model); network_model = NULL; - if (smpi_bw_factor) - xbt_dynar_free(&smpi_bw_factor); - if (smpi_lat_factor) - xbt_dynar_free(&smpi_lat_factor); + xbt_dict_free(&gap_lookup); + xbt_dynar_free(&smpi_bw_factor); + xbt_dynar_free(&smpi_lat_factor); } static void smpi_gap_append(double size, const link_CM02_t link,