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

This commit is contained in:
George Joseph
2017-01-24 15:49:07 -06:00
committed by Gerrit Code Review

View File

@@ -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)