shithub: mc

Download patch

ref: 11755c230ea87f02e334978daa731f1c31815986
parent: 097c5188b37949e352cb8c92b38c49b4027314e0
author: Ori Bernstein <[email protected]>
date: Fri Dec 29 07:20:00 EST 2017

Clear out next slab pointer.

--- a/lib/std/bytealloc.myr
+++ b/lib/std/bytealloc.myr
@@ -279,6 +279,7 @@
 		s = bkt.cache
 		bkt.cache = s.next
 		bkt.ncache--
+		s.next = Zslab
 		-> s
 	;;