mirror of
https://github.com/samba-team/samba.git
synced 2025-11-12 04:23:49 +03:00
r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for consistency.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
1d1a9c11ee
commit
ec32b22ed5
@@ -40,7 +40,7 @@ static WERROR drsuapi_DsBind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem
|
||||
r->out.bind_info = NULL;
|
||||
ZERO_STRUCTP(r->out.bind_handle);
|
||||
|
||||
b_state = talloc_p(dce_call->conn, struct drsuapi_bind_state);
|
||||
b_state = talloc(dce_call->conn, struct drsuapi_bind_state);
|
||||
WERR_TALLOC_CHECK(b_state);
|
||||
|
||||
b_state->sam_ctx = samdb_connect(b_state);
|
||||
@@ -57,7 +57,7 @@ static WERROR drsuapi_DsBind(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem
|
||||
|
||||
handle->data = talloc_steal(handle, b_state);
|
||||
|
||||
bind_info = talloc_p(mem_ctx, struct drsuapi_DsBindInfoCtr);
|
||||
bind_info = talloc(mem_ctx, struct drsuapi_DsBindInfoCtr);
|
||||
WERR_TALLOC_CHECK(bind_info);
|
||||
|
||||
ZERO_STRUCT(site_guid);
|
||||
|
||||
Reference in New Issue
Block a user