42-archive/42sh/src/exec/pfree_subshell.c
2017-03-21 21:19:56 +01:00

19 lines
1,017 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pfree_subshell.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: wescande <wescande@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/03/08 02:38:12 by wescande #+# #+# */
/* Updated: 2017/03/21 20:03:21 by ariard ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
int pfree_subshell(t_process *p)
{
btree_del(&p->data.subshell.content, &ast_free);
return (0);
}