This commit is contained in:
Maieul BOYER 2024-08-03 16:18:15 +02:00
parent 709c124028
commit 8ee24b1bcf
No known key found for this signature in database
5 changed files with 161 additions and 85 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/29 11:35:51 by rparodi #+# #+# */
/* Updated: 2024/08/02 12:09:53 by rparodi ### ########.fr */
/* Updated: 2024/08/03 15:18:33 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -37,11 +37,9 @@ void ft_free_utils(t_state *s)
{
if (s->str_input)
mem_free(s->str_input);
if (s->path)
ft_free_strs(s->path);
if (s->env)
hmap_env_free(s->env);
ts_parser_delete(s->parser.parser);
ts_parser_delete(s->parser);
}
void ft_exit(t_state *maiboyerlpb, t_u8 exit_status)