krb5/krb5 — pull request #94 by tkuthan (2014-03-26 16:58:24+00:00)
Title: Don't free cred handle used in kadm5 server handle

At the end of setup_gss(), gss_client_creds is always released.
But this credential handle is saved in kadm5_server_handle_t in
handle->clnt->cl_auth->(struct rpc_gss_data *)ah_private->sec->cred
Accessing these credentials can result in use after free.

The handle should only be freed on error.