From 36cec79e81ecf2527f1411e2aea4060066f49137 Mon Sep 17 00:00:00 2001 From: starnakin Date: Tue, 30 Jul 2024 19:19:55 +0200 Subject: [PATCH] remove debug print --- test/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/main.c b/test/main.c index ad039de..a97079a 100644 --- a/test/main.c +++ b/test/main.c @@ -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], ptr2) == NULL), "alloc second", ""); test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr3) == NULL), "alloc third", ""); - show_alloc_mem(); ft_free(ptr1); test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr2) == NULL), "free disorder1", ""); ft_free(ptr3); test(0, (const void*) (uintptr_t) (raw_get_chunk(allocs_tree[TINY], ptr2) == NULL), "free disorder2", ""); - show_alloc_mem(); ft_free(ptr2); - show_alloc_mem(); test(NULL, allocs_tree[TINY], "free disorder3", ""); + show_alloc_mem(); return 0;