diff options
Diffstat (limited to 'res/res_sip_acl.c')
-rw-r--r-- | res/res_sip_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_sip_acl.c b/res/res_sip_acl.c index f626a976f..057ae96f7 100644 --- a/res/res_sip_acl.c +++ b/res/res_sip_acl.c @@ -226,7 +226,7 @@ static void sip_acl_destructor(void *obj) static void *sip_acl_alloc(const char *name) { - struct sip_acl *acl = ao2_alloc(sizeof(*acl), sip_acl_destructor); + struct sip_acl *acl = ast_sorcery_generic_alloc(sizeof(*acl), sip_acl_destructor); if (!acl) { return NULL; } |