Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Comment a particularly ... inventive code path
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 1 Feb 2017 07:57:57 +0000 (08:57 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 1 Feb 2017 07:57:57 +0000 (08:57 +0100)
src/xbt/config.cpp

index b46ac1c..5dd6ca2 100644 (file)
@@ -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);