mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
No bug, fixing tinderbox orange apparently caused by missing OOM check, r=gal in person
This commit is contained in:
parent
fd60b3339c
commit
836a74cc80
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user