shithub: riscv

Download patch

ref: 30c05fe3ddfcbbf60d0088b088fae31dcc512888
parent: 249ff9a24c5119efa545fe045e99094068ec59f3
author: cinap_lenrek <[email protected]>
date: Tue Apr 4 16:13:31 EDT 2017

kernel: fix memory leak in checkpagerefs() debug function (thanks aiju)

--- a/sys/src/9/port/page.c
+++ b/sys/src/9/port/page.c
@@ -440,6 +440,7 @@
 	iprint("%lud mistakes found\n", nwrong);
 	unlock(&palloc);
 	splx(s);
+	free(ref);
 }
 
 void