From 9fcf067c7c7714a49a2ecdae0c69b0b247cce1c2 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Wed, 1 Feb 2017 08:57:57 +0100 Subject: [PATCH] Comment a particularly ... inventive code path --- src/xbt/config.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.20.1