summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap
diff options
context:
space:
mode:
Diffstat (limited to 'lib/krb5_wrap')
-rw-r--r--lib/krb5_wrap/keytab_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/krb5_wrap/keytab_util.c b/lib/krb5_wrap/keytab_util.c
index fd8308cedfe..5fe9216470a 100644
--- a/lib/krb5_wrap/keytab_util.c
+++ b/lib/krb5_wrap/keytab_util.c
@@ -66,6 +66,7 @@ static krb5_error_code copy_one_entry(krb5_context context,
KRB5_KEY_TYPE(KRB5_KT_KEY(&entry)),
&etype_str);
if(ret) {
+ krb5_free_unparsed_name(context, name_str);
krb5_set_error_message(context, ret, "krb5_enctype_to_string");
etype_str = NULL; /* XXX */
return ret;