mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: vcleanup call fix (#4186)
This commit is contained in:
parent
561b7a0ea5
commit
3eff266eb9
@ -2683,7 +2683,9 @@ pub fn (g mut Gen) write_tests_main() {
|
||||
g.writeln('\tBenchedTests_end_testing(&bt);')
|
||||
}
|
||||
g.writeln('')
|
||||
g.writeln('\t_vcleanup();')
|
||||
if g.autofree {
|
||||
g.writeln('\t_vcleanup();')
|
||||
}
|
||||
g.writeln('\treturn g_test_fails > 0;')
|
||||
g.writeln('}')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user