X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ec8f8313b1a08b599536064f5e208eff71d1e48f..9fcf067c7c7714a49a2ecdae0c69b0b247cce1c2:/src/xbt/config.cpp diff --git a/src/xbt/config.cpp b/src/xbt/config.cpp index b46ac1cff8..5dd6ca28f5 100644 --- a/src/xbt/config.cpp +++ b/src/xbt/config.cpp @@ -605,6 +605,7 @@ void xbt_cfg_set_parse(const char *options) free(optionlist_cpy); return; + /* Do not THROWF from a C++ exception catching context, or some cleanups will be missing */ on_missing_key: free(optionlist_cpy); THROWF(not_found_error, 0, "Could not set variables %s", options);