/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_free_split.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/03/25 08:55:20 by narnaud #+# #+# */ /* Updated: 2022/03/25 08:57:26 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #include "../libft.h" void ft_free_split(char **split) { int i; i = 0; while (split[i]) { free(split[i]); i++; } free(split); }