remove debug print
This commit is contained in:
parent
9c4ca0c5a6
commit
36cec79e81
@ -60,15 +60,13 @@ int main(int ac, char **av)
|
|||||||
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr1) == NULL), "alloc first", "");
|
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr1) == NULL), "alloc first", "");
|
||||||
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr2) == NULL), "alloc second", "");
|
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr2) == NULL), "alloc second", "");
|
||||||
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr3) == NULL), "alloc third", "");
|
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr3) == NULL), "alloc third", "");
|
||||||
show_alloc_mem();
|
|
||||||
ft_free(ptr1);
|
ft_free(ptr1);
|
||||||
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr2) == NULL), "free disorder1", "");
|
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr2) == NULL), "free disorder1", "");
|
||||||
ft_free(ptr3);
|
ft_free(ptr3);
|
||||||
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr2) == NULL), "free disorder2", "");
|
test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr2) == NULL), "free disorder2", "");
|
||||||
show_alloc_mem();
|
|
||||||
ft_free(ptr2);
|
ft_free(ptr2);
|
||||||
show_alloc_mem();
|
|
||||||
test(NULL, allocs_tree[TINY], "free disorder3", "");
|
test(NULL, allocs_tree[TINY], "free disorder3", "");
|
||||||
|
show_alloc_mem();
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user