diff options
Diffstat (limited to 'src/kadmin/cli/keytab.c')
-rw-r--r-- | src/kadmin/cli/keytab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kadmin/cli/keytab.c b/src/kadmin/cli/keytab.c index 4b51140b55..dd8242e018 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) |