krb5_free_ticket - Free a ticket.

void krb5_free_ticket(krb5_context context, krb5_ticket *val)
param

[in] context - Library context

[in] val - Ticket to be freed

This function frees the contents of val and the structure itself.