aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.c')
-rw-r--r--src/ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast.c b/src/ast.c
index c878062..4e67c52 100644
--- a/src/ast.c
+++ b/src/ast.c
@@ -6,7 +6,7 @@
/* By: charles <charles@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/01 17:05:42 by charles #+# #+# */
-/* Updated: 2020/06/18 13:39:30 by charles ### ########.fr */
+/* Updated: 2020/06/18 14:46:07 by nahaddac ### ########.fr */
/* */
/* ************************************************************************** */
@@ -46,7 +46,7 @@ void ast_destroy(t_ast *ast)
{
if (ast == NULL)
return ;
- ft_lstdestroy(&ast->cmd_argv, (void (*)(void*))token_destroy);
+ //ft_lstdestroy(&ast->cmd_argv, (void (*)(void*))token_destroy);
if (ast->tag == AST_CMD)
{
ft_lstdestroy(&ast->cmd_argv, (void (*)(void*))token_destroy);