diff --git a/lib/krb5/fcache.c b/lib/krb5/fcache.c index d34f041cf..9b831c7f0 100644 --- a/lib/krb5/fcache.c +++ b/lib/krb5/fcache.c @@ -925,6 +925,9 @@ fcc_move(krb5_context context, krb5_ccache from, krb5_ccache to) fcc_unlock(context, fd); close(fd); } + + fcc_destroy(context, from); + return ret; }