mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Add missing ast_sorcery_generic_alloc conversions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -49,7 +49,7 @@ struct test_sorcery_object { | ||||
| /*! \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) | ||||
|   | ||||
| @@ -201,7 +201,7 @@ struct test_sorcery_object { | ||||
| /*! \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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user