osalloc: improve error message when virtualFree fails

This commit is contained in:
Araq
2017-12-03 15:20:13 +01:00
parent 82870058d3
commit a0699870e3

View File

@@ -166,7 +166,7 @@ elif defined(windows):
# space heavily, so we now treat Windows as a strange unmap target.
when reallyOsDealloc:
if virtualFree(p, 0, MEM_RELEASE) == 0:
cprintf "yes, failing!"
cprintf "virtualFree failing!"
quit 1
#VirtualFree(p, size, MEM_DECOMMIT)