shithub: libmujs

Download patch

ref: 051d504cfbe8f6034ba18df72858b62b1d8570b4
parent: 3f69364c7fdb8c7719710dccb5348153152fd5d5
author: Tor Andersson <tor.andersson@artifex.com>
date: Fri Oct 31 12:58:08 EDT 2014

Add missing js_endtry call in Fp_toString.

--- a/jsfunction.c
+++ b/jsfunction.c
@@ -76,6 +76,7 @@
 		}
 		js_pushstring(J, s);
 		js_free(J, s);
+		js_endtry(J);
 	} else {
 		js_pushliteral(J, "function () { ... }");
 	}