From 0114333d347706bcb51dbf48edc4fd345dde0a5d Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 28 Nov 2020 16:45:03 +0100 Subject: [PATCH] autofree: fix _ --- vlib/v/gen/cgen.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index 3657273ac3..c41a738aa3 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -1565,6 +1565,8 @@ fn (mut g Gen) gen_assign_stmt(assign_stmt ast.AssignStmt) { g.writeln('${type_to_free}_free(&$sref_name);') } } + } else { + af = false } } else { af = false