diff options
author | Günther Deschner <gd@samba.org> | 2015-02-10 14:38:22 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2015-03-20 23:25:54 +0100 |
commit | 13cd1d5c58668313fd26aa00406bcfad1fccf256 (patch) | |
tree | c9a9072dcb190c21532de4b31cdeca823f9e682a /source4/kdc | |
parent | 6d6712fdde2b82d20f8c395110efa0706324ad71 (diff) | |
download | samba-13cd1d5c58668313fd26aa00406bcfad1fccf256.tar.gz |
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>
Diffstat (limited to 'source4/kdc')
-rw-r--r-- | source4/kdc/db-glue.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/kdc/db-glue.c b/source4/kdc/db-glue.c index e0f302aaa12..7471aa2c2a7 100644 --- a/source4/kdc/db-glue.c +++ b/source4/kdc/db-glue.c @@ -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; |