shithub: libmujs

Download patch

ref: 11730a96aa72ab0fb6e019605f5ab7aa4f24eaed
parent: e37029624df5c6c7cf82f0ba60af735c8c34ea64
author: Sebastian Rasmussen <[email protected]>
date: Tue Dec 24 08:45:11 EST 2013

Free dynamically allocated yytext when closing.

--- a/js-state.c
+++ b/js-state.c
@@ -9,6 +9,7 @@
 
 void js_close(js_State *J)
 {
+	free(J->yytext);
 	free(J);
 }