mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
kdc-db-glue: Do not allocate memory for the principal
The function we are calling already allocate memory. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
aa1431e53f
commit
b21b2d596e
@ -646,7 +646,6 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
|
||||
* fixed UPPER case realm, but the as-sent username
|
||||
*/
|
||||
|
||||
entry_ex->entry.principal = malloc(sizeof(*(entry_ex->entry.principal)));
|
||||
if (ent_type == SAMBA_KDC_ENT_TYPE_KRBTGT) {
|
||||
if (flags & (HDB_F_CANON)) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user