summaryrefslogtreecommitdiffstats
path: root/src/clients/klist/klist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/klist/klist.c')
-rw-r--r--src/clients/klist/klist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
index 503a1149d5..9d8f0a83bc 100644
--- a/src/clients/klist/klist.c
+++ b/src/clients/klist/klist.c
@@ -386,8 +386,8 @@ list_ccache(krb5_ccache cache)
status = 0;
cleanup:
krb5_free_principal(kcontext, princ);
- free(princname);
- free(ccname);
+ krb5_free_unparsed_name(kcontext, princname);
+ krb5_free_string(kcontext, ccname);
return status;
}