mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
autofree: fix [manualfree]
This commit is contained in:
parent
2f1810634e
commit
f86233c41f
@ -2487,6 +2487,9 @@ fn (mut g Gen) autofree_var_call(free_fn_name string, v ast.Var) {
|
||||
if g.is_builtin_mod {
|
||||
return
|
||||
}
|
||||
if !g.is_autofree {
|
||||
return
|
||||
}
|
||||
// if v.is_autofree_tmp && !g.doing_autofree_tmp {
|
||||
// return
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user