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:
parent
df30b79971
commit
89d64b21ea
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user