ssl_des/lib/libft/ft_memdel.c
2018-10-07 19:34:39 +03:00

22 lines
984 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_memdel.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/01 16:50:09 by gtertysh #+# #+# */
/* Updated: 2016/12/01 17:18:12 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_memdel(void **ap)
{
if (ap)
{
free(*ap);
*ap = NULL;
}
}