[asterisk-commits] rmudgett: trunk r374279 - /trunk/main/astobj2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 2 18:23:36 CDT 2012


Author: rmudgett
Date: Tue Oct  2 18:23:30 2012
New Revision: 374279

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=374279
Log:
Missed an astobj2.c debug tag.

Modified:
    trunk/main/astobj2.c

Modified: trunk/main/astobj2.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/astobj2.c?view=diff&rev=374279&r1=374278&r2=374279
==============================================================================
--- trunk/main/astobj2.c (original)
+++ trunk/main/astobj2.c Tue Oct  2 18:23:30 2012
@@ -2982,7 +2982,8 @@
 	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);
 }




More information about the asterisk-commits mailing list