42-archive/ls/libft/src/str/ft_strdel.c
Jack Halford f249b18aec norme ok
2016-11-21 18:27:03 +01:00

22 lines
984 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/03 14:58:00 by jhalford #+# #+# */
/* Updated: 2016/11/21 18:03:21 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_strdel(char **as)
{
if (as)
{
free(*as);
*as = NULL;
}
}