Merge "Free endpoint ACLs when destroying PJSIP endpoints."
This commit is contained in:
commit
f517c015e2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue