Fixed incorrect parameters for memory deallocation
This commit is contained in:
parent
ade1fd8fff
commit
b1228be79a
4 changed files with 11 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
|||
import sys
|
||||
|
||||
free(address Pointer, length Int) -> Int {
|
||||
return sys.munmap(address, length)
|
||||
return sys.munmap(address-8, length+8)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue