shithub: libmujs

Download patch

ref: 1399bbe244dd19a5668856d004881a695512d170
parent: c5296bf469972d4625d24d24459ba7567f5c5d87
author: Sebastian Rasmussen <[email protected]>
date: Mon May 22 18:17:57 EDT 2017

Free script buffer read from standard input.

--- a/main.c
+++ b/main.c
@@ -230,6 +230,7 @@
 				return 1;
 			if (js_dostring(J, input))
 				return 1;
+			free(input);
 			js_gc(J, 0);
 		}
 	}