Bug 660681: Add NULL check to LeaveFunction (r=jimb)

This commit is contained in:
Paul Biggar 2011-06-06 14:24:11 -07:00
parent 118bf3fdae
commit 33979e422d

View File

@ -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);
/*