Merge "Free endpoint ACLs when destroying PJSIP endpoints."

This commit is contained in:
Joshua Colp 2017-01-24 12:44:26 -06:00 committed by Gerrit Code Review
commit f517c015e2
1 changed files with 2 additions and 0 deletions

View File

@ -2069,6 +2069,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)