From 01b4cc91d1596cf94d709a627ed8ad64bc1e285d Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 16 Feb 2020 04:51:41 +0100 Subject: Filled lst* tests --- test/src/mem/test_ft_calloc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/src/mem') diff --git a/test/src/mem/test_ft_calloc.c b/test/src/mem/test_ft_calloc.c index 9944f41..0df9b95 100644 --- a/test/src/mem/test_ft_calloc.c +++ b/test/src/mem/test_ft_calloc.c @@ -19,6 +19,7 @@ TEST(ft_calloc, basic) #endif for (int i = 0; i < 45; i++) TEST_ASSERT_EQUAL(0x0, ptr[i]); + /* free(ptr); */ int *ptrint = NULL; ptrint = ft_calloc(10, sizeof(int)); @@ -28,4 +29,5 @@ TEST(ft_calloc, basic) #endif for (int i = 0; i < 10; i++) TEST_ASSERT_EQUAL(0x0, ptrint[i]); + /* free(ptrint); */ } -- cgit