diff options
author | Araq <rumpf_a@web.de> | 2017-12-03 15:20:13 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-12-03 15:20:13 +0100 |
commit | a0699870e37f392b8e61ea5bb5216856f720a3ee (patch) | |
tree | f4a2b0772f8234167bfc6a7d4e40ac8cbf289810 /lib | |
parent | 82870058d31f5291b63b690139522050a589d233 (diff) | |
download | Nim-a0699870e37f392b8e61ea5bb5216856f720a3ee.tar.gz |
osalloc: improve error message when virtualFree fails
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/osalloc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/osalloc.nim b/lib/system/osalloc.nim index 65a057772..444f11306 100644 --- a/lib/system/osalloc.nim +++ b/lib/system/osalloc.nim @@ -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) |