mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
mit-kdb: Remove unneeded memset()
The memory has been allocated with calloc() already. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
adcb8a9197
commit
72fe43f218
@ -156,8 +156,6 @@ static krb5_error_code ks_create_principal(krb5_context context,
|
|||||||
return ENOMEM;
|
return ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
ZERO_STRUCTP(kentry);
|
|
||||||
|
|
||||||
kentry->magic = KRB5_KDB_MAGIC_NUMBER;
|
kentry->magic = KRB5_KDB_MAGIC_NUMBER;
|
||||||
kentry->len = KRB5_KDB_V1_BASE_LENGTH;
|
kentry->len = KRB5_KDB_V1_BASE_LENGTH;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user