diff options
-rw-r--r-- | ecomp-c/ec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ecomp-c/ec.c b/ecomp-c/ec.c index 3fa4d41..d98999d 100644 --- a/ecomp-c/ec.c +++ b/ecomp-c/ec.c @@ -1250,6 +1250,7 @@ static void parseConstDeclaration( void ) Emit( "; CONST %s -> %s, %d\n", constant[i]->name, constant[i]->type->name, constant[i]->value ); } } + free_expression_node( node ); } static void parseConstBlock( void ) @@ -1318,6 +1319,7 @@ static void parseVariableDeclaration( void ) variable[i]->type = node->symbol->type; } } + free_expression_node( node ); } else { for( i = 0; i < nof_variables; i++ ) { variable[i]->value = 0; |