krb5_free_principal - Free the storage assigned to a principal.

void krb5_free_principal(krb5_context context, krb5_principal val)
param

[in] context - Library context

[in] val - Principal to be freed