Merge branch 'master' of https://github.com/jzck/42sh
This commit is contained in:
commit
e3cea95575
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ int main(int ac, char **av)
|
||||||
ret = handle_instruction(&token, &ast);
|
ret = handle_instruction(&token, &ast);
|
||||||
lexer_destroy(&data->lexer);
|
lexer_destroy(&data->lexer);
|
||||||
parser_destroy(&data->parser);
|
parser_destroy(&data->parser);
|
||||||
|
ft_lstdel(&data_singleton()->exec.op_stack, &ft_lst_cfree);
|
||||||
ft_lstdel(&token, &token_free);
|
ft_lstdel(&token, &token_free);
|
||||||
btree_del(&ast, &ast_free);
|
btree_del(&ast, &ast_free);
|
||||||
if (ret == 1)
|
if (ret == 1)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue