diff options
-rw-r--r-- | tests/test_sorcery_astdb.c | 2 | ||||
-rw-r--r-- | tests/test_sorcery_realtime.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_sorcery_astdb.c b/tests/test_sorcery_astdb.c index 2371397a4..c45aabe6d 100644 --- a/tests/test_sorcery_astdb.c +++ b/tests/test_sorcery_astdb.c @@ -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) diff --git a/tests/test_sorcery_realtime.c b/tests/test_sorcery_realtime.c index 6f4196841..85d104988 100644 --- a/tests/test_sorcery_realtime.c +++ b/tests/test_sorcery_realtime.c @@ -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) |