25 lines
1021 B
C
25 lines
1021 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* ft_frenarr.c :+: :+: :+: */
|
|
/* +:+ */
|
|
/* By: djonker <marvin@codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2020/12/11 21:54:13 by djonker #+# #+# */
|
|
/* Updated: 2023/02/07 00:39:47 by houtworm ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "../libft.h"
|
|
|
|
void *ft_frenarr(char **s, int n)
|
|
{
|
|
while (n > 0)
|
|
{
|
|
n--;
|
|
free(s[n]);
|
|
}
|
|
free(s);
|
|
return (NULL);
|
|
}
|