1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: remove manual free(f) in an autofree test, after 58febe46, which does it automatically now

This commit is contained in:
Delyan Angelov 2022-04-09 20:06:27 +03:00
parent df30b79971
commit 89d64b21ea
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -16,8 +16,6 @@ fn create(x int) &Foo {
fn (f &Foo) free() {
println('> freeing Foo $f.x at address: ${voidptr(f)} | frees.len: $frees.len')
frees << f.x
// TODO: this should NOT be necessary - the compiler should do it automatically in the parent scope
unsafe { free(f) }
}
fn create_some_foos() {