summaryrefslogtreecommitdiff
path: root/res/res_sip_endpoint_identifier_ip.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2013-06-23 18:59:36 +0000
committerJoshua Colp <jcolp@digium.com>2013-06-23 18:59:36 +0000
commit477e207f284ea3dda8db07fef84d7f01665004c4 (patch)
tree71248d1ba72e6f6990aa3601c8b7f8b97aabcba6 /res/res_sip_endpoint_identifier_ip.c
parentc3f9ddc9adb066fc093653181281e66d6686f141 (diff)
Add some more missing ast_sorcery_generic_alloc conversions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_sip_endpoint_identifier_ip.c')
-rw-r--r--res/res_sip_endpoint_identifier_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_sip_endpoint_identifier_ip.c b/res/res_sip_endpoint_identifier_ip.c
index 89bf1d554..9e39b277a 100644
--- a/res/res_sip_endpoint_identifier_ip.c
+++ b/res/res_sip_endpoint_identifier_ip.c
@@ -74,7 +74,7 @@ static void ip_identify_destroy(void *obj)
/*! \brief Allocator function for a matching object */
static void *ip_identify_alloc(const char *name)
{
- struct ip_identify_match *identify = ao2_alloc(sizeof(*identify), ip_identify_destroy);
+ struct ip_identify_match *identify = ast_sorcery_generic_alloc(sizeof(*identify), ip_identify_destroy);
if (!identify || ast_string_field_init(identify, 256)) {
ao2_cleanup(identify);