summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2011-03-10 10:17:51 +0100
committerSimo Sorce <idra@samba.org>2011-03-23 17:19:22 +0100
commit73faa82bf9ebebdff9662e60715e9fd4f1614b9f (patch)
treef575ada48d81b8ab5629c708faebeec644d375c9 /source3/librpc
parentb2bdc20f65f0d5fda5b9fdb9dc6222e2f219bbea (diff)
downloadsamba-73faa82bf9ebebdff9662e60715e9fd4f1614b9f.tar.gz
samba-73faa82bf9ebebdff9662e60715e9fd4f1614b9f.tar.bz2
samba-73faa82bf9ebebdff9662e60715e9fd4f1614b9f.zip
s3-rpc_server: Implement an endpoint monitor loop.
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/rpc/dcerpc_ep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/rpc/dcerpc_ep.c b/source3/librpc/rpc/dcerpc_ep.c
index 92c01a32bb..1fce63acd2 100644
--- a/source3/librpc/rpc/dcerpc_ep.c
+++ b/source3/librpc/rpc/dcerpc_ep.c
@@ -289,7 +289,7 @@ static NTSTATUS ep_register(TALLOC_CTX *mem_ctx,
if (pbh != NULL) {
*pbh = talloc_move(mem_ctx, &h);
- talloc_steal(mem_ctx, cli);
+ talloc_steal(*pbh, cli);
}
done: