diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-05-21 13:05:54 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-05-21 13:19:50 +0200 |
commit | a529cf262e497a2517c182450e44d88e1e13860d (patch) | |
tree | da10f5cd9b89a0477a27b6fd66e1ca31e2a57e4a | |
parent | f0156897c82da0ac30bc16aef8d301e7e07c44c6 (diff) | |
download | ell-a529cf262e497a2517c182450e44d88e1e13860d.tar.gz ell-a529cf262e497a2517c182450e44d88e1e13860d.tar.xz ell-a529cf262e497a2517c182450e44d88e1e13860d.zip |
Fix backtrace generation
-rw-r--r-- | ell.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -864,6 +864,7 @@ execute_statement // with stack traces generated this way. if (!ctx->memory_failure && ctx->error[0] != '_') { char *tmp = ctx->error; + ctx->error = NULL; set_error (ctx, "%s -> %s", name, tmp); free (tmp); } |