fix norm and set chunk sizes

This commit is contained in:
2024-12-03 19:03:30 +01:00
parent 231b283e0d
commit 7dfa7eb049
10 changed files with 241 additions and 186 deletions

19
main.c
View File

@ -3,15 +3,14 @@
int main(void)
{
void *ptr;
ft_malloc(1013);
printf("%p\n",ft_malloc(100));
ft_malloc(100);
ptr = ft_malloc(1000);
ft_malloc(100);
ft_malloc(100);
ft_free(ptr);
ft_malloc(123);
int i;
i = 0;
while(i < 110)
{
malloc(256);
i++;
}
show_alloc_mem();
}