(hdb_generate_key_set): free list of enctype when done.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18819 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-22 09:40:12 +00:00
parent 2eb73a3be0
commit af4bc603f4

View File

@@ -334,6 +334,9 @@ hdb_generate_key_set(krb5_context context, krb5_principal principal,
*ret_key_set = key_set;
out:
if (ktypes != default_keytypes)
krb5_config_free_strings(ktypes);
if (ret) {
krb5_warn(context, ret,
"failed to parse the [kadmin]default_keys values");