aboutsummaryrefslogtreecommitdiff
path: root/test/src/mem/test_ft_calloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/mem/test_ft_calloc.c')
-rw-r--r--test/src/mem/test_ft_calloc.c2
1 files changed, 2 insertions, 0 deletions
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); */
}