mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 660681: Add NULL check to LeaveFunction (r=jimb)
This commit is contained in:
parent
118bf3fdae
commit
33979e422d
@ -2837,8 +2837,11 @@ LeaveFunction(JSParseNode *fn, JSTreeContext *funtc, JSAtom *funAtom = NULL,
|
||||
* allows us to handle both these cases in a natural way.
|
||||
*/
|
||||
outer_ale = MakePlaceholder(dn, tc);
|
||||
if (!outer_ale)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
JSDefinition *outer_dn = ALE_DEFN(outer_ale);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user