| 123456789101112131415161718192021 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* ft_memdel.c :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@students.42.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2015/11/25 17:36:33 by bchanot #+# #+# */
- /* Updated: 2016/11/08 11:05:21 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "libft.h"
- #include <stdlib.h>
- void ft_memdel(void **ap)
- {
- if (*ap)
- free(*ap);
- *ap = NULL;
- }
|