MIT Kerberos Documentation

krb5_free_authdata - Free the storage assigned to array of authentication data.

void krb5_free_authdata(krb5_context context, krb5_authdata ** val)
param:

[in] context - Library context

[in] val - Array of authentication data to be freed

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

Note

The last entry in the array must be a NULL pointer.