Missed an astobj2.c debug tag.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 2 Oct 2012 23:23:30 +0000 (23:23 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 2 Oct 2012 23:23:30 +0000 (23:23 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374279 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/astobj2.c

index 7e87596..082dfc0 100644 (file)
@@ -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);
 }