Fix backtrace generation

This commit is contained in:
Přemysl Eric Janouch 2017-05-21 13:05:54 +02:00
parent f0156897c8
commit a529cf262e
Signed by: p
GPG Key ID: B715679E3A361BE6

1
ell.c
View File

@ -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);
}