ci: remove manual free(f) in an autofree test, after 58febe46
, which does it automatically now
parent
df30b79971
commit
89d64b21ea
|
@ -16,8 +16,6 @@ fn create(x int) &Foo {
|
||||||
fn (f &Foo) free() {
|
fn (f &Foo) free() {
|
||||||
println('> freeing Foo $f.x at address: ${voidptr(f)} | frees.len: $frees.len')
|
println('> freeing Foo $f.x at address: ${voidptr(f)} | frees.len: $frees.len')
|
||||||
frees << f.x
|
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() {
|
fn create_some_foos() {
|
||||||
|
|
Loading…
Reference in New Issue