22 lines
984 B
C
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;
|
|
}
|
|
}
|