aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libversit/vcc.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/libversit/vcc.y b/libversit/vcc.y
index ad607cf4fe..f8eb9e6556 100644
--- a/libversit/vcc.y
+++ b/libversit/vcc.y
@@ -1160,8 +1160,10 @@ static VObject* Parse_MIMEHelper()
vObjList = 0;
curObj = 0;
- if (yyparse() != 0)
+ if (yyparse() != 0) {
+ finiLex();
return 0;
+ }
finiLex();
return vObjList;