A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Comment a particularly ... inventive code path
[simgrid.git]
/
src
/
xbt
/
config.cpp
diff --git
a/src/xbt/config.cpp
b/src/xbt/config.cpp
index
b46ac1c
..
5dd6ca2
100644
(file)
--- 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);