25 lines
1,017 B
C
25 lines
1,017 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_sstrfree.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2016/11/08 17:01:24 by jhalford #+# #+# */
|
|
/* Updated: 2016/11/08 17:09:26 by jhalford ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
void ft_sstrfree(char **sstr)
|
|
{
|
|
int i;
|
|
|
|
i = 0;
|
|
while (sstr[i])
|
|
{
|
|
ft_strdel(sstr + i);
|
|
i++;
|
|
}
|
|
}
|