-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathft_memdel.c
More file actions
20 lines (18 loc) · 978 Bytes
/
ft_memdel.c
File metadata and controls
20 lines (18 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: wbeets <wbeets@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2015/03/20 11:56:56 by wbeets #+# #+# */
/* Updated: 2015/03/20 11:56:56 by wbeets ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_memdel(void **ap)
{
if (*ap)
free(*ap);
*ap = NULL;
}