X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f13ab1807d381f0bf36027a9042e046dc4735dd5..85c342932c60954a7e1c9430742bfff2b28c31a8:/src/surf/surf.c diff --git a/src/surf/surf.c b/src/surf/surf.c index 9a57398ac6..dfdafbda1c 100644 --- a/src/surf/surf.c +++ b/src/surf/surf.c @@ -387,8 +387,7 @@ void surf_exit(void) } surf_action_exit(); - if (surf_path) - xbt_dynar_free(&surf_path); + xbt_dynar_free(&surf_path); xbt_lib_free(&host_lib); xbt_lib_free(&link_lib);