summaryrefslogtreecommitdiff
path: root/main/astobj2.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/astobj2.c')
-rw-r--r--main/astobj2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/astobj2.c b/main/astobj2.c
index 7e8759606..082dfc038 100644
--- a/main/astobj2.c
+++ b/main/astobj2.c
@@ -2982,7 +2982,8 @@ struct ao2_container *__ao2_container_alloc_hash(unsigned int ao2_options,
num_buckets = hash_fn ? n_buckets : 1;
container_size = sizeof(struct ao2_container_hash) + num_buckets * sizeof(struct hash_bucket);
- self = __ao2_alloc(container_size, container_destruct, ao2_options);
+ self = ao2_t_alloc_options(container_size, container_destruct, ao2_options,
+ "New hash container");
return hash_ao2_container_init(self, container_options, num_buckets,
hash_fn, sort_fn, cmp_fn);
}