mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s4-kdc/db_glue: bad idea to free parent mem_ctx when sub function got a failure.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
6d6712fdde
commit
13cd1d5c58
@ -1609,7 +1609,6 @@ static krb5_error_code samba_kdc_lookup_server(krb5_context context,
|
||||
krb5_principal_get_comp_string(context, principal, 0),
|
||||
&enterprise_prinicpal);
|
||||
if (ret) {
|
||||
talloc_free(mem_ctx);
|
||||
return ret;
|
||||
}
|
||||
principal = enterprise_prinicpal;
|
||||
|
Loading…
x
Reference in New Issue
Block a user