1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +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:
Andreas Schneider 2016-12-15 17:51:24 +01:00 committed by Stefan Metzmacher
parent adcb8a9197
commit 72fe43f218

View File

@ -156,8 +156,6 @@ static krb5_error_code ks_create_principal(krb5_context context,
return ENOMEM;
}
ZERO_STRUCTP(kentry);
kentry->magic = KRB5_KDB_MAGIC_NUMBER;
kentry->len = KRB5_KDB_V1_BASE_LENGTH;