call finiLex in error case to avoid a memleak.
svn path=/trunk/; revision=2895
This commit is contained in:
@ -1160,8 +1160,10 @@ static VObject* Parse_MIMEHelper()
|
||||
vObjList = 0;
|
||||
curObj = 0;
|
||||
|
||||
if (yyparse() != 0)
|
||||
if (yyparse() != 0) {
|
||||
finiLex();
|
||||
return 0;
|
||||
}
|
||||
|
||||
finiLex();
|
||||
return vObjList;
|
||||
|
Reference in New Issue
Block a user