Merge "Free endpoint ACLs when destroying PJSIP endpoints." into 14

This commit is contained in:
Joshua Colp
2017-01-24 12:45:11 -06:00
committed by Gerrit Code Review

View File

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