Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment