diff options
Diffstat (limited to 'unix/main.c')
-rw-r--r-- | unix/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/main.c b/unix/main.c index 681bf2aa20..34d9618ca2 100644 --- a/unix/main.c +++ b/unix/main.c @@ -62,6 +62,7 @@ static void execute_from_lexer(mp_lexer_t *lex, mp_parse_input_kind_t input_kind */ mp_obj_t module_fun = mp_compile(pn, source_name, is_repl); + parse_node_free_struct(pn); if (module_fun == mp_const_none) { // compile error |