diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-05-08 10:15:36 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-05-08 10:15:36 +0800 |
commit | 608783a45d9b85133e0302a915add2708ba9bbc4 (patch) | |
tree | ef4dd64630f6dadd41e763979a8c073f533806de | |
parent | 9ce4dd5c57a5de7dace3059e3164cfd0f0e89044 (diff) | |
download | gsoc2013-evolution-608783a45d9b85133e0302a915add2708ba9bbc4.tar gsoc2013-evolution-608783a45d9b85133e0302a915add2708ba9bbc4.tar.gz gsoc2013-evolution-608783a45d9b85133e0302a915add2708ba9bbc4.tar.bz2 gsoc2013-evolution-608783a45d9b85133e0302a915add2708ba9bbc4.tar.lz gsoc2013-evolution-608783a45d9b85133e0302a915add2708ba9bbc4.tar.xz gsoc2013-evolution-608783a45d9b85133e0302a915add2708ba9bbc4.tar.zst gsoc2013-evolution-608783a45d9b85133e0302a915add2708ba9bbc4.zip |
call finiLex in error case to avoid a memleak.
svn path=/trunk/; revision=2895
-rw-r--r-- | libversit/vcc.y | 4 |
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; |