From 80b74c925e5bf0aaed7329d87a5ed9b6a7d57fdb Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 7 Oct 2020 18:58:40 +0200 Subject: Fixing happy path memory leaks --- src/eval/parenthesis.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/eval/parenthesis.c') diff --git a/src/eval/parenthesis.c b/src/eval/parenthesis.c index 5a1fafa..6f4f9e0 100644 --- a/src/eval/parenthesis.c +++ b/src/eval/parenthesis.c @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/09/13 20:38:29 by charles #+# #+# */ -/* Updated: 2020/10/06 17:22:29 by cacharle ### ########.fr */ +/* Updated: 2020/10/07 15:56:09 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -24,7 +24,6 @@ int eval_parenthesis(int fds[2], t_env env, t_ast *ast) if ((status = redir_extract(&ast->redirs, env, fds)) != 0) return (status); - ast->tag ^= AST_PARENT; param.fds[0] = fds[0]; param.fds[1] = fds[1]; param.env = env; -- cgit