kadmin: format_field KRB5_TL_ETYPES do not leak enctype string

Change-Id: I745216c334c038f55711c27f7885d8f96f656e79
This commit is contained in:
Jeffrey Altman
2022-01-16 23:32:10 -05:00
parent 1383677642
commit 54adba6023

View File

@@ -349,6 +349,7 @@ format_field(struct get_entry_data *data,
if (i)
strlcat(buf, ",", buf_len);
strlcat(buf, str, buf_len);
krb5_xfree(str);
}
}
free_HDB_EncTypeList(&etypes);