shithub: lu9-lua

Download patch

ref: 04c3a13e333abf7f4463dad265da65a0bb65b836
parent: a356309d74cc2ed14f2ee107d19d6274aae4778e
author: kvik <kvik@a-b.xyz>
date: Fri Apr 23 08:11:10 EDT 2021

os9: fix wait(2) message leak

--- a/los9lib.c
+++ b/los9lib.c
@@ -73,6 +73,7 @@
 		lua_pushstring(L, "exit");
 		lua_pushinteger(L, 0);
 	}
+	free(w);
 	return 3;
 }