diff -r 558ed4c6abd0 -r 4a220afebad0 tests/util_allocator.c --- a/tests/util_allocator.c Sun Jul 07 12:21:58 2024 +0200 +++ b/tests/util_allocator.c Sat Aug 17 11:14:39 2024 +0200 @@ -140,7 +140,7 @@ size_t initial_capa = 16; alloc->tracked_capacity = initial_capa; alloc->tracked_count = 0; - alloc->tracked = calloc(sizeof(void *), initial_capa); + alloc->tracked = calloc(initial_capa, sizeof(void *)); } void cx_testing_allocator_destroy(CxTestingAllocator *alloc) {