in source/kms.c [2041:2053]
void aws_recipient_destroy(struct aws_recipient *recipient) {
if (recipient == NULL) {
return;
}
AWS_PRECONDITION(recipient);
AWS_PRECONDITION(aws_allocator_is_valid(recipient->allocator));
if (aws_byte_buf_is_valid(&recipient->attestation_document)) {
aws_byte_buf_clean_up_secure(&recipient->attestation_document);
}
aws_mem_release(recipient->allocator, recipient);
}