mirror of
https://github.com/samba-team/samba.git
synced 2025-12-04 08: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
@@ -324,7 +324,7 @@ NTSTATUS dcerpc_parse_binding(TALLOC_CTX *mem_ctx, const char *s, struct dcerpc_
|
||||
|
||||
comma_count = count_chars(options, ',');
|
||||
|
||||
b->options = talloc_array_p(mem_ctx, const char *, comma_count+2);
|
||||
b->options = talloc_array(mem_ctx, const char *, comma_count+2);
|
||||
if (!b->options) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
@@ -631,7 +631,7 @@ NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx, struct dcerpc_binding *
|
||||
}
|
||||
|
||||
tower->num_floors = 2 + num_protocols;
|
||||
tower->floors = talloc_array_p(mem_ctx, struct epm_floor, tower->num_floors);
|
||||
tower->floors = talloc_array(mem_ctx, struct epm_floor, tower->num_floors);
|
||||
|
||||
/* Floor 0 */
|
||||
tower->floors[0].lhs.protocol = EPM_PROTOCOL_UUID;
|
||||
|
||||
Reference in New Issue
Block a user