summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-13 15:17:43 +0100
committerAraq <rumpf_a@web.de>2012-01-13 15:17:43 +0100
commit69997af8e9c02f855ce7728a471c2be915e798d6 (patch)
tree6bf3bbc5f8acaeb5671fda073a541d5b7783b364 /lib
parentc682a1da2b4f364718aaa5e895885043a6f7b873 (diff)
downloadNim-69997af8e9c02f855ce7728a471c2be915e798d6.tar.gz
bugfix: endless recursion in 'semAfterMacroCall'
Diffstat (limited to 'lib')
-rwxr-xr-xlib/system/alloc.nim1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim
index f2603586e..95fe2542d 100755
--- a/lib/system/alloc.nim
+++ b/lib/system/alloc.nim
@@ -562,7 +562,6 @@ proc rawAlloc0(a: var TMemRegion, requestedSize: int): pointer =
 
 proc rawDealloc(a: var TMemRegion, p: pointer) =
   sysAssert(allocInv(a), "rawDealloc: begin")
-  sysAssert(isAllocatedPtr(a, p), "rawDealloc: no allocated pointer!")
   var c = pageAddr(p)
   if isSmallChunk(c):
     # `p` is within a small chunk: