1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00

s4:kdc: Fix copy-paste typo

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Joseph Sutton 2022-02-01 20:52:16 +13:00 committed by Stefan Metzmacher
parent c91af5f1a8
commit 26334df74f

View File

@ -1234,7 +1234,7 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
kdc_db_ctx->policy.usr_tkt_lifetime);
}
entry_ex->entry.max_renew = malloc(sizeof(*entry_ex->entry.max_life));
entry_ex->entry.max_renew = malloc(sizeof(*entry_ex->entry.max_renew));
if (entry_ex->entry.max_renew == NULL) {
ret = ENOMEM;
goto out;