From ab5e44bb8d1c55d87b3f3af671f987d09a23bdcc Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Fri, 28 Oct 2005 18:14:44 +0000 Subject: [PATCH] Fix script_thaw to set its local root. --- js/src/jsscript.c | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/jsscript.c b/js/src/jsscript.c index 8cd995881f24..85c6db420bc3 100644 --- a/js/src/jsscript.c +++ b/js/src/jsscript.c @@ -725,6 +725,7 @@ script_thaw(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, str = js_ValueToString(cx, argv[0]); if (!str) return JS_FALSE; + argv[0] = STRING_TO_JSVAL(str); /* create new XDR */ xdr = JS_XDRNewMem(cx, JSXDR_DECODE);