admin: Fix double-free in keytab JSON listing

This commit is contained in:
Nicolas Williams
2022-12-30 16:39:42 -06:00
parent dfe592ef35
commit 8c23a706f3
2 changed files with 1 additions and 2 deletions

View File

@@ -166,7 +166,7 @@ kt_get(struct get_options *opt, int argc, char **argv)
kadm5_principal_ent_rec princ;
int mask = 0;
krb5_keyblock *keys;
int n_keys;
int n_keys = 0;
int created = 0;
krb5_keytab_entry entry;