MIT Kerberos Documentation

krb5_free_keyblock_contents - Free the contents of a krb5_keyblock structure.

void krb5_free_keyblock_contents(krb5_context context, krb5_keyblock * key)
param:

[in] context - Library context

[in] key - Keyblock to be freed

This function frees the contents of key , but not the structure itself.