call finiLex in error case to avoid a memleak.

svn path=/trunk/; revision=2895
This commit is contained in:
Chris Toshok
2000-05-08 02:15:36 +00:00
parent 9ce4dd5c57
commit 608783a45d

View File

@ -1160,8 +1160,10 @@ static VObject* Parse_MIMEHelper()
vObjList = 0;
curObj = 0;
if (yyparse() != 0)
if (yyparse() != 0) {
finiLex();
return 0;
}
finiLex();
return vObjList;