Bug 772303 - Add missing roots for analysis builds; r=bhackett

This commit is contained in:
Terrence Cole
2012-08-03 09:41:00 -07:00
parent 2930844184
commit 082a931454
13 changed files with 36 additions and 22 deletions

View File

@@ -2590,7 +2590,7 @@ static JSBool
date_toJSON(JSContext *cx, unsigned argc, Value *vp)
{
/* Step 1. */
JSObject *obj = ToObject(cx, &vp[1]);
RootedObject obj(cx, ToObject(cx, &vp[1]));
if (!obj)
return false;