Fix backtrace generation
This commit is contained in:
		
							parent
							
								
									f0156897c8
								
							
						
					
					
						commit
						a529cf262e
					
				
							
								
								
									
										1
									
								
								ell.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								ell.c
									
									
									
									
									
								
							| @ -864,6 +864,7 @@ execute_statement | |||||||
| 	// with stack traces generated this way.
 | 	// with stack traces generated this way.
 | ||||||
| 	if (!ctx->memory_failure && ctx->error[0] != '_') { | 	if (!ctx->memory_failure && ctx->error[0] != '_') { | ||||||
| 		char *tmp = ctx->error; | 		char *tmp = ctx->error; | ||||||
|  | 		ctx->error = NULL; | ||||||
| 		set_error (ctx, "%s -> %s", name, tmp); | 		set_error (ctx, "%s -> %s", name, tmp); | ||||||
| 		free (tmp); | 		free (tmp); | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user