From 9ffb79111f0eb22949c4528df70ca97c1db8385b Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sat, 18 Aug 2012 16:57:22 +0200 Subject: [PATCH] initialize the ast_expression node in ast_type_copy properly --- ast.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ast.c b/ast.c index 8f65b81..01e3332 100644 --- a/ast.c +++ b/ast.c @@ -125,6 +125,7 @@ static ast_expression* ast_type_copy(lex_ctx ctx, const ast_expression *ex) else { ast_instantiate(ast_expression, ctx, ast_expression_delete_full); + ast_expression_init(self, NULL); fromex = &ex->expression; selfex = &self->expression; -- 2.39.2