[asterisk-commits] file: trunk r392647 - /trunk/tests/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jun 23 08:24:20 CDT 2013


Author: file
Date: Sun Jun 23 08:24:18 2013
New Revision: 392647

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392647
Log:
Add missing ast_sorcery_generic_alloc conversions.

Modified:
    trunk/tests/test_sorcery_astdb.c
    trunk/tests/test_sorcery_realtime.c

Modified: trunk/tests/test_sorcery_astdb.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_sorcery_astdb.c?view=diff&rev=392647&r1=392646&r2=392647
==============================================================================
--- trunk/tests/test_sorcery_astdb.c (original)
+++ trunk/tests/test_sorcery_astdb.c Sun Jun 23 08:24:18 2013
@@ -49,7 +49,7 @@
 /*! \brief Internal function to allocate a test object */
 static void *test_sorcery_object_alloc(const char *id)
 {
-	return ao2_alloc(sizeof(struct test_sorcery_object), NULL);
+	return ast_sorcery_generic_alloc(sizeof(struct test_sorcery_object), NULL);
 }
 
 static struct ast_sorcery *alloc_and_initialize_sorcery(void)

Modified: trunk/tests/test_sorcery_realtime.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_sorcery_realtime.c?view=diff&rev=392647&r1=392646&r2=392647
==============================================================================
--- trunk/tests/test_sorcery_realtime.c (original)
+++ trunk/tests/test_sorcery_realtime.c Sun Jun 23 08:24:18 2013
@@ -201,7 +201,7 @@
 /*! \brief Internal function to allocate a test object */
 static void *test_sorcery_object_alloc(const char *id)
 {
-	return ao2_alloc(sizeof(struct test_sorcery_object), NULL);
+	return ast_sorcery_generic_alloc(sizeof(struct test_sorcery_object), NULL);
 }
 
 static struct ast_sorcery *alloc_and_initialize_sorcery(void)




More information about the asterisk-commits mailing list