-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_strdel.c
executable file
·25 lines (22 loc) · 1014 Bytes
/
ft_strdel.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ngouy <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/06 13:06:49 by ngouy #+# #+# */
/* Updated: 2015/11/04 16:52:59 by ngouy ### ########.fr */
/* */
/* ************************************************************************** */
/*
** Free str as.
*/
#include "libft.h"
void ft_strdel(char **as)
{
if (!as)
return ;
free(*as);
*as = NULL;
}