diff options
author | Adrian Thurston <thurston@complang.org> | 2015-01-27 08:40:55 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-01-27 08:40:55 -0500 |
commit | d97898e259de2165599818287132ba1ee80390a2 (patch) | |
tree | bc6a6f7832b4a209ec63bca20e322fcbdca2be1b /src/struct.c | |
parent | bd00414927c26f999f37e2bdccbb12e88b14815a (diff) | |
download | colm-d97898e259de2165599818287132ba1ee80390a2.tar.gz |
free the parser result in the parser destroy
Diffstat (limited to 'src/struct.c')
-rw-r--r-- | src/struct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/struct.c b/src/struct.c index 643dd6c1..8915ec2b 100644 --- a/src/struct.c +++ b/src/struct.c @@ -70,8 +70,8 @@ void colm_parser_destroy( Program *prg, Tree **sp, struct colm_struct *s ) clearPdaRun( prg, sp, parser->pdaRun ); free( parser->pdaRun ); -// /* Free the result. */ -// treeDownref( prg, sp, parser->result ); + /* Free the result. */ + treeDownref( prg, sp, parser->result ); } Parser *colm_parser_new( Program *prg, GenericInfo *gi ) |