bug 540805 - using reference counting only for empty scopes. r=jorendorff
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user