add free function (may be broken), add pointer to first allocation in memory bloc.

This commit is contained in:
2024-12-01 03:19:21 +01:00
parent fd59310dad
commit 7cddc28d28
7 changed files with 136 additions and 45 deletions

5
main.c
View File

@ -2,4 +2,9 @@
int main(void)
{
void *ptr;
ptr = ft_malloc(1013);
ft_free(ptr);
show_alloc_mem();
}