From ec7dc44f99c0e3efb83b56defebca2c7e12869f7 Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Fri, 2 Aug 1996 17:17:58 +0000 Subject: [PATCH] * keytab.c (add_principal): free_keyblock -> free_keyblock_contents git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8893 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/cli/ChangeLog | 4 ++++ src/kadmin/cli/keytab.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog index 9abb58a60..f9820adc4 100644 --- a/src/kadmin/cli/ChangeLog +++ b/src/kadmin/cli/ChangeLog @@ -1,3 +1,7 @@ +Fri Aug 2 13:13:24 1996 Barry Jaspan + + * keytab.c (add_principal): free_keyblock -> free_keyblock_contents + Wed Jul 31 14:20:50 1996 Tom Yu * kadmin.c: Remove delcaration for getpwuid(); already declared in diff --git a/src/kadmin/cli/keytab.c b/src/kadmin/cli/keytab.c index 4b51140b5..dd8242e01 100644 --- a/src/kadmin/cli/keytab.c +++ b/src/kadmin/cli/keytab.c @@ -253,7 +253,7 @@ int add_principal(void *handle, char *keytab_str, krb5_keytab keytab, cleanup: if (nkeys) { for (i = 0; i < nkeys; i++) - krb5_free_keyblock(context, &keys[i]); + krb5_free_keyblock_contents(context, &keys[i]); free(keys); } if (princ) -- 2.26.2