Free identifiers
Jeffrey Pfau jeffrey@endrift.com
Sat, 12 Jul 2014 17:13:58 -0700
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
src/debugger/parser.c
→
src/debugger/parser.c
@@ -289,5 +289,9 @@ }
parseFree(tree->lhs); parseFree(tree->rhs); + + if (tree->token.type == TOKEN_IDENTIFIER_TYPE) { + free(tree->token.identifierValue); + } free(tree); }