From b7e54c6c45e434134c6f5385eabb7952f6d6fbd6 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Mon, 29 Feb 2016 19:08:39 -0600 Subject: [PATCH] kcm: don't free addr of local vars! --- kcm/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcm/protocol.c b/kcm/protocol.c index bb73a01ee..b9b8d8a03 100644 --- a/kcm/protocol.c +++ b/kcm/protocol.c @@ -824,7 +824,7 @@ kcm_op_get_initial_ticket(krb5_context context, if (ret != 0) { krb5_free_principal(context, server); - krb5_free_keyblock(context, &key); + krb5_free_keyblock_contents(context, &key); } kcm_release_ccache(context, ccache);