diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-25 19:54:24 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-05-28 21:59:04 +1000 |
commit | e5232bdc69af45f15bc8fd95745276018f5961be (patch) | |
tree | 5ea3336032d76a8946e4b7c96a499763a65c287c /source4/kdc/mit_samba.c | |
parent | d0e131ee4e3e1f35ebc33d6c1c27d5c9e69b8e87 (diff) | |
download | samba-e5232bdc69af45f15bc8fd95745276018f5961be.tar.gz samba-e5232bdc69af45f15bc8fd95745276018f5961be.tar.bz2 samba-e5232bdc69af45f15bc8fd95745276018f5961be.zip |
s4:kdc Remove special talloc_free of the ldb context
I can see no reason not to just let this go with the talloc tree that
created it, and avoid a talloc_free with references.
Andrew Bartlett
Diffstat (limited to 'source4/kdc/mit_samba.c')
-rw-r--r-- | source4/kdc/mit_samba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/mit_samba.c b/source4/kdc/mit_samba.c index 7718e56d65..cb1284cfca 100644 --- a/source4/kdc/mit_samba.c +++ b/source4/kdc/mit_samba.c @@ -98,7 +98,7 @@ static int mit_samba_context_init(struct mit_samba_context **_ctx) cli_credentials_set_kerberos_state(ctx->session_info->credentials, CRED_DONT_USE_KERBEROS); - ctx->db_ctx->samdb = samdb_connect(ctx, + ctx->db_ctx->samdb = samdb_connect(ctx->db_ctx, ctx->db_ctx->ev_ctx, ctx->db_ctx->lp_ctx, ctx->session_info); |