Commit aac0db25 authored by sebastien's avatar sebastien
Browse files

v4 preprocessor: fixed minor memory leak


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1698 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 225e859e
......@@ -75,6 +75,9 @@ ParsingDriver::parse(istream &in)
Dynare::parser parser(*this);
parser.parse();
if (location.begin.filename)
delete location.begin.filename;
delete lexer;
delete tmp_symbol_table;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment