git: 9front

Download patch

ref: 354c97d262fecbddad169f636e19b13ae89a962e
parent: d329db4aea003a6ec4825f8c6812cc71cf628d8e
author: cinap_lenrek <cinap_lenrek@felloff.net>
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
--