summaryrefslogtreecommitdiff
path: root/tests/test_sorcery_astdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sorcery_astdb.c')
-rw-r--r--tests/test_sorcery_astdb.c2
1 files changed, 1 insertions, 1 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)