text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_lstdelone.c                                     :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: wipariso <marvin@42.fr>                    +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2015/12/04 22:38:28 by wipariso          #+#    #+#             */
  /*   Updated: 2015/12/09 16:32:40 by wipariso         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  #include <stdlib.h>
  
  void	ft_lstdelone(t_list **alst, void (*del)(void*, size_t))
  {
  	del((**alst).content, (**alst).content_size);
  	free(*alst);
  	*alst = NULL;
  }
  