mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-13 13:28:34 +00:00
Merge "Free endpoint ACLs when destroying PJSIP endpoints." into 13
This commit is contained in:
@@ -2070,6 +2070,8 @@ static void endpoint_destructor(void* obj)
|
|||||||
ast_variables_destroy(endpoint->channel_vars);
|
ast_variables_destroy(endpoint->channel_vars);
|
||||||
AST_VECTOR_FREE(&endpoint->ident_method_order);
|
AST_VECTOR_FREE(&endpoint->ident_method_order);
|
||||||
ast_free(endpoint->contact_user);
|
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)
|
static int init_subscription_configuration(struct ast_sip_endpoint_subscription_configuration *subscription)
|
||||||
|
|||||||
Reference in New Issue
Block a user