X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/048946896864e915486d86c4016aeea6c987475c..0db7c964785a7e463746904785e2c9b7c7fd7963:/src/surf/surf_interface.cpp diff --git a/src/surf/surf_interface.cpp b/src/surf/surf_interface.cpp index 1171e7aa72..3f44e4fe9e 100644 --- a/src/surf/surf_interface.cpp +++ b/src/surf/surf_interface.cpp @@ -289,9 +289,6 @@ void surf_init(int *argc, char **argv) XBT_DEBUG("Create all Libs"); USER_HOST_LEVEL = simgrid::s4u::Host::extension_create(nullptr); - netcards_dict = xbt_dict_new_homogeneous([](void* p) { - delete static_cast(p); - }); storage_lib = xbt_lib_new(); storage_type_lib = xbt_lib_new(); file_lib = xbt_lib_new(); @@ -324,7 +321,6 @@ void surf_exit() xbt_dynar_free(&surf_path); sg_host_exit(); - xbt_dict_free(&netcards_dict); xbt_lib_free(&storage_lib); sg_link_exit(); xbt_lib_free(&storage_type_lib);