From 1a8038d8a61b4d44a2ab956bcf0c8bceec20c804 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Fri, 19 Jul 2013 14:56:01 +0200 Subject: [PATCH] don't free armor_ccache, since krb5_cc are not yet ref counted --- lib/krb5/init_creds_pw.c | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.11.4.GIT