This commit is contained in:
Andreas Rumpf 2022-12-10 16:21:43 +01:00 • committed by GitHub
commit b59c657be3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -787,8 +787,9 @@ when defined(gcDestructors):
while it != nil:
if maxIters == 0:
let rest = it.next.loada
it.next.storea nil
addToSharedFreeList(c, rest)
if rest != nil:
it.next.storea nil
addToSharedFreeList(c, rest)
break
inc x, size
it = it.next.loada