diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-10-18 12:20:56 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2010-10-18 14:03:21 +0200 |
commit | abeef470c4f233762950d0bf8d60760a7f8578a9 (patch) | |
tree | 0ed5b5bb00a922f3a32b4b96c6a3f3c5bc31c6f9 /librpc | |
parent | d42ddd7b603524fb9a95be2317104d2f0e456ee2 (diff) | |
download | samba-abeef470c4f233762950d0bf8d60760a7f8578a9.tar.gz |
librpc: Fixed memory context of dcerpc_binding_from_tower.
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/rpc/binding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/rpc/binding.c b/librpc/rpc/binding.c index 1b716d0153b..7489073677f 100644 --- a/librpc/rpc/binding.c +++ b/librpc/rpc/binding.c @@ -685,14 +685,14 @@ _PUBLIC_ NTSTATUS dcerpc_binding_from_tower(TALLOC_CTX *mem_ctx, /* Set endpoint */ if (tower->num_floors >= 4) { - binding->endpoint = dcerpc_floor_get_rhs_data(mem_ctx, &tower->floors[3]); + binding->endpoint = dcerpc_floor_get_rhs_data(binding, &tower->floors[3]); } else { binding->endpoint = NULL; } /* Set network address */ if (tower->num_floors >= 5) { - binding->host = dcerpc_floor_get_rhs_data(mem_ctx, &tower->floors[4]); + binding->host = dcerpc_floor_get_rhs_data(binding, &tower->floors[4]); NT_STATUS_HAVE_NO_MEMORY(binding->host); binding->target_hostname = binding->host; } |