Archived
1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
pipex/src/utils/ft_freetab.c

26 lines
1013 B
C
Raw Normal View History

2024-03-22 21:23:17 +01:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
2024-03-28 23:05:43 +01:00
/* ft_freetab.c :+: :+: :+: */
2024-03-22 21:23:17 +01:00
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
2024-03-28 23:05:43 +01:00
/* Created: 2024/03/28 22:34:09 by adjoly #+# #+# */
/* Updated: 2024/03/28 22:36:50 by adjoly ### ########.fr */
2024-03-22 21:23:17 +01:00
/* */
/* ************************************************************************** */
2024-03-28 23:05:43 +01:00
#include <stdlib.h>
2024-03-22 21:23:17 +01:00
2024-03-28 23:05:43 +01:00
void ft_freearr(char **arr)
{
char **tmp;
tmp = arr;
while(*tmp)
{
free(*tmp);
tmp++;
}
}