No bug, fixing tinderbox orange apparently caused by missing OOM check, r=gal in person

This commit is contained in:
David Mandelin 2009-09-17 17:44:19 -07:00
parent 5d366e54b9
commit 9325d29757

View File

@ -321,6 +321,8 @@ js_Arguments(JSContext *cx, JSObject *parent, uint32 argc, JSObject *callee,
double *argv, js_ArgsPrivateNative *apn)
{
JSObject *argsobj = NewArguments(cx, parent, argc, callee);
if (!argsobj)
return NULL;
apn->argv = argv;
SetArgsPrivateNative(argsobj, apn);
return argsobj;