osalloc: improve error message when virtualFree fails
This commit is contained in:
parent
82870058d3
commit
a0699870e3
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ elif defined(windows):
|
||||||
# space heavily, so we now treat Windows as a strange unmap target.
|
# space heavily, so we now treat Windows as a strange unmap target.
|
||||||
when reallyOsDealloc:
|
when reallyOsDealloc:
|
||||||
if virtualFree(p, 0, MEM_RELEASE) == 0:
|
if virtualFree(p, 0, MEM_RELEASE) == 0:
|
||||||
cprintf "yes, failing!"
|
cprintf "virtualFree failing!"
|
||||||
quit 1
|
quit 1
|
||||||
#VirtualFree(p, size, MEM_DECOMMIT)
|
#VirtualFree(p, size, MEM_DECOMMIT)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue