shithub: qk1

Download patch

ref: b934e2acad9936555e02465fd75f208bceb4d1c5
parent: caf029c6244503aa40992ba5b3750850e90930e3
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Oct 11 15:50:16 EDT 2023

zone: alignment would make wrong offsets in model loading logic - remove that

--- a/zone.c
+++ b/zone.c
@@ -62,7 +62,6 @@
 {
 	mem_t *m;
 
-	size = (size+15)&~15;
 	m = mallocz(sizeof(*m) + size, 1);
 	if(m == nil)
 		sysfatal("Hunk_Alloc: %r");