Fixed incorrect parameters for memory deallocation

This commit is contained in:
Eduard Urbach 2025-02-09 15:25:25 +01:00
parent ade1fd8fff
commit b1228be79a
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
4 changed files with 11 additions and 9 deletions

View file

@ -1,5 +1,5 @@
import sys
free(address Pointer, length Int) -> Int {
return sys.munmap(address, length)
return sys.munmap(address-8, length+8)
}