-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_memdel.c
22 lines (20 loc) · 1003 Bytes
/
ft_memdel.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rabougue <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/12/02 15:37:13 by rabougue #+# #+# */
/* Updated: 2016/05/04 09:06:39 by rabougue ### ########.fr */
/* */
/* ************************************************************************** */
#include "./includes/libft.h"
void ft_memdel(void **ap)
{
if (ap != NULL)
{
free(*ap);
*ap = NULL;
}
}