diff options
author | George Joseph <gjoseph@digium.com> | 2017-01-24 15:49:07 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2017-01-24 15:49:07 -0600 |
commit | 284b8b981e4e480f056efbb41407ab8d4646b22b (patch) | |
tree | 0dfdafc8d399c149c6414cbfe83b2fc40a8b38ae /res | |
parent | 7b06dae2d8ec634dbee82a3993c6461ef384e9c7 (diff) | |
parent | 75497c33ea4f52d969c0d845ab30d0c152c34c4d (diff) |
Merge "Free endpoint ACLs when destroying PJSIP endpoints." into 13
Diffstat (limited to 'res')
-rw-r--r-- | res/res_pjsip/pjsip_configuration.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip/pjsip_configuration.c b/res/res_pjsip/pjsip_configuration.c index 89590689b..bfaf750d4 100644 --- a/res/res_pjsip/pjsip_configuration.c +++ b/res/res_pjsip/pjsip_configuration.c @@ -2070,6 +2070,8 @@ static void endpoint_destructor(void* obj) ast_variables_destroy(endpoint->channel_vars); AST_VECTOR_FREE(&endpoint->ident_method_order); ast_free(endpoint->contact_user); + ast_free_acl_list(endpoint->contact_acl); + ast_free_acl_list(endpoint->acl); } static int init_subscription_configuration(struct ast_sip_endpoint_subscription_configuration *subscription) |