-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_memdel.c
20 lines (18 loc) · 989 Bytes
/
ft_memdel.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ybitton <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/28 14:25:38 by ybitton #+# #+# */
/* Updated: 2017/01/16 16:41:04 by ybitton ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdlib.h>
#include "fillit.h"
void ft_memdel(void **ap)
{
free(*ap);
*ap = NULL;
}