1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:kdc: Remove unused memory context from samba_kdc_lookup_realm()

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-09-27 15:58:55 +13:00 committed by Joseph Sutton
parent 2f9d2ff895
commit 41527cfaf9

View File

@ -2760,7 +2760,6 @@ static krb5_error_code samba_kdc_fetch_server(krb5_context context,
static krb5_error_code samba_kdc_lookup_realm(krb5_context context,
struct samba_kdc_db_context *kdc_db_ctx,
TALLOC_CTX *mem_ctx,
krb5_const_principal principal,
unsigned flags,
struct sdb_entry *entry)
@ -2970,7 +2969,7 @@ krb5_error_code samba_kdc_fetch(krb5_context context,
return ret;
}
ret = samba_kdc_lookup_realm(context, kdc_db_ctx, mem_ctx,
ret = samba_kdc_lookup_realm(context, kdc_db_ctx,
principal, flags, entry);
if (ret != 0) {
goto done;