--- a/src/hash_map.c Mon Nov 18 22:05:42 2024 +0100
+++ b/src/hash_map.c Sat Nov 23 14:45:32 2024 +0100
@@ -392,6 +392,10 @@
size_t itemsize,
size_t buckets
) {
+ if (allocator == NULL) {
+ allocator = cxDefaultAllocator;
+ }
+
if (buckets == 0) {
// implementation defined default
buckets = 16;