mirror of
https://github.com/samba-team/samba.git
synced 2025-12-02 00:23:50 +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
@@ -253,11 +253,11 @@ WERROR dcesrv_drsuapi_DsCrackNames(struct dcesrv_call_state *dce_call, TALLOC_CT
|
||||
int count;
|
||||
int i;
|
||||
|
||||
ctr1 = talloc_p(mem_ctx, struct drsuapi_DsNameCtr1);
|
||||
ctr1 = talloc(mem_ctx, struct drsuapi_DsNameCtr1);
|
||||
WERR_TALLOC_CHECK(ctr1);
|
||||
|
||||
count = r->in.req.req1.count;
|
||||
names = talloc_array_p(mem_ctx, struct drsuapi_DsNameInfo1, count);
|
||||
names = talloc_array(mem_ctx, struct drsuapi_DsNameInfo1, count);
|
||||
WERR_TALLOC_CHECK(names);
|
||||
|
||||
for (i=0; i < count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user