text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_memdel.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: nmanzini <nmanzini@student.42.fr>          +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2017/11/15 17:07:25 by nmanzini          #+#    #+#             */
  /*   Updated: 2017/11/22 18:41:12 by nmanzini         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  void	ft_memdel(void **ap)
  {
  	if (ap != NULL && *ap != NULL)
  	{
  		free(*ap);
  		*ap = NULL;
  	}
  }
  