We're free(3)ing the wrong ptr, here.

This commit is contained in:
Roland C. Dowdeswell
2012-02-24 17:33:24 +00:00
parent 1017d42b18
commit 800a4e5c94

View File

@@ -576,7 +576,7 @@ hdb_generate_key_set(krb5_context context, krb5_principal principal,
krb5_config_free_strings(config_ktypes);
for(kp = ks_tuple_strs; kp && *kp; kp++)
free(kp);
free(*kp);
free(ks_tuple_strs);
if (ret) {