add show_alloc_mem

This commit is contained in:
2024-11-30 23:44:55 +01:00
parent 59b60a0bd3
commit fd59310dad
9 changed files with 292 additions and 35 deletions

20
srcs/free.c Normal file
View File

@ -0,0 +1,20 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* free.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/30 18:46:07 by tomoron #+# #+# */
/* Updated: 2024/11/30 22:39:16 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
#include "includes/malloc.h"
void ft_free(void *ptr)
{
t_alloc *alloc;
alloc = (t_alloc *)ptr - 1;
}