This allows to do more with the given exception afterward.
Users should call xbt_ex_free() themselves.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6281
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
* Add SIMIX_process_set_name() to change the name of the current
process in the log messages.
* Add SIMIX_process_set_name() to change the name of the current
process in the log messages.
+ XBT:
+ * xbt_ex_display(): do not free the exception after displaying
+ This allows to do more with the given exception afterward.
+ Users should call xbt_ex_free() themselves.
+
-- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
SimGrid (3.3) stable; urgency=high
-- Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
SimGrid (3.3) stable; urgency=high
e->procname,thrower?thrower:" in this process");
CRITICAL1("%s",e->msg);
e->procname,thrower?thrower:" in this process");
CRITICAL1("%s",e->msg);
- if (thrower)
- free(thrower);
-
if (!e->remote && !e->bt_strings)
xbt_ex_setup_backtrace(e);
if (!e->remote && !e->bt_strings)
xbt_ex_setup_backtrace(e);
fprintf(stderr," at %s:%d:%s (no backtrace available on that arch)\n",
e->file,e->line,e->func);
#endif
fprintf(stderr," at %s:%d:%s (no backtrace available on that arch)\n",
e->file,e->line,e->func);
#endif