From 7c97b0b24d76608a6189dfa848e122cda71576d4 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 22 Feb 2021 17:00:48 +0200 Subject: [PATCH] gitly: fix compilation with -autofree --- vlib/v/gen/c/cgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/c/cgen.v b/vlib/v/gen/c/cgen.v index e374303180..589e1196db 100644 --- a/vlib/v/gen/c/cgen.v +++ b/vlib/v/gen/c/cgen.v @@ -2442,7 +2442,7 @@ fn (mut g Gen) autofree_var_call(free_fn_name string, v ast.Var) { // if v.is_autofree_tmp && !g.doing_autofree_tmp { // return // } - if v.name.contains('expr_write_1_') { + if v.name.contains('expr_write_string_1_') { // TODO remove this temporary hack return }