-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_memdel.c
23 lines (21 loc) · 1012 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
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jkeuleya <jkeuleya@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/08 12:34:38 by jkeuleya #+# #+# */
/* Updated: 2014/11/08 19:02:29 by jkeuleya ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdlib.h>
#include "libft.h"
void ft_memdel(void **ap)
{
if (ap != NULL)
{
free(*ap);
*ap = NULL;
}
}