bug 540805 - using reference counting only for empty scopes. r=jorendorff

This commit is contained in:
Igor Bukanov
2010-01-27 09:50:17 +03:00
parent d6dcdd2e8e
commit a08ea4a83f
18 changed files with 201 additions and 204 deletions

View File

@@ -1345,7 +1345,7 @@ js_MakeArraySlow(JSContext *cx, JSObject *obj)
return JS_TRUE;
out_bad:
JSScope::destroy(cx, scope);
scope->destroy(cx);
return JS_FALSE;
}