X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a65af9cc95088e0b83af31e744ff4a9bbae3fad7..5983df9ea678c1bca6d9a1938c3aa4de9e685959:/src/surf/surfxml_parse.c diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 2c03573f2b..18a6f496f2 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -841,6 +841,7 @@ void surf_parse_close(void) xbt_dynar_free(&surf_parsed_filename_stack); free(surf_parsed_filename); + surf_parsed_filename = NULL; if (surf_file_to_parse) { surf_parse__delete_buffer(surf_input_buffer);