diff --git a/lib/krb5/init_creds_pw.c b/lib/krb5/init_creds_pw.c index d3165488d..7e123f6fc 100644 --- a/lib/krb5/init_creds_pw.c +++ b/lib/krb5/init_creds_pw.c @@ -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)