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