Fixed incorrect parameters for memory deallocation

This commit is contained in:
Eduard Urbach 2025-02-09 15:25:25 +01:00
parent 129a674c2e
commit a24b8a7586
Signed by: eduard
GPG key ID: 49226B848C78F6C8
4 changed files with 11 additions and 9 deletions

View file

@ -0,0 +1,7 @@
import mem
main() {
address := mem.alloc(1024)
err := mem.free(address, 1024)
assert err == 0
}