gitly: fix compilation with -autofree

pull/8906/head
Delyan Angelov 2021-02-22 17:00:48 +02:00
parent 467dce6be6
commit 7c97b0b24d
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

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