don't free armor_ccache, since krb5_cc are not yet ref counted

This commit is contained in:
Love Hornquist Astrand
2013-07-19 14:56:01 +02:00
parent 3484432cc5
commit 1a8038d8a6

View File

@@ -166,8 +166,6 @@ free_init_creds_ctx(krb5_context context, krb5_init_creds_context ctx)
* to destroy it, and how would we know? also, the caller should
* take care of cleaning up the armor_ccache).
*/
if (ctx->fast_state.armor_ccache)
krb5_cc_close(context, ctx->fast_state.armor_ccache);
if (ctx->fast_state.armor_service)
krb5_free_principal(context, ctx->fast_state.armor_service);
if (ctx->fast_state.armor_crypto)