--- a/tests/test_hash_map.c Thu May 15 15:43:30 2025 +0200 +++ b/tests/test_hash_map.c Thu May 15 16:02:54 2025 +0200 @@ -665,8 +665,8 @@ // verify that all pairs are present in the reference map for (size_t i = 0 ; i < map->collection.size ; i++) { CX_TEST_ASSERT(test_map_reference_get(pairs[i].key) == pairs[i].value); - // this was strdup'ed - free((void*)pairs[i].key); + // this was cx_strdup'ed + cxFree(cxDefaultAllocator, (void*)pairs[i].key); } free(pairs); }