-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_strdel.c
22 lines (20 loc) · 1.07 KB
/
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
/* ************************************************************************** */
/* LE - / */
/* / */
/* ft_strdel.c .:: .:/ . .:: */
/* +:+:+ +: +: +:+:+ */
/* By: davfelix <[email protected]> +:+ +: +: +:+ */
/* #+# #+ #+ #+# */
/* Created: 2018/10/18 15:27:18 by davfelix #+# ## ## #+# */
/* Updated: 2018/11/15 18:32:18 by davfelix ### #+. /#+ ###.fr */
/* / */
/* / */
/* ************************************************************************** */
#include "libft.h"
void ft_strdel(char **as)
{
if (as == NULL || *as == NULL)
return ;
free(*as);
*as = NULL;
}