summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-11-14 10:12:20 +0100
committerJeremy Allison <jra@samba.org>2020-11-30 22:24:37 +0000
commitf53117e03f5f8d523248f537383fa43799aa26e6 (patch)
treee42bc780b6a0304658ff056ad30a2c8f3786dd13 /source3/librpc
parenta41112fcc984c19d5123e4a49a5f5fd4341e811d (diff)
downloadsamba-f53117e03f5f8d523248f537383fa43799aa26e6.tar.gz
librpc: Fix a talloc_stackframe() leak
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/rpc/dcerpc_ep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/librpc/rpc/dcerpc_ep.c b/source3/librpc/rpc/dcerpc_ep.c
index 6ac098c1b03..454e6bd6637 100644
--- a/source3/librpc/rpc/dcerpc_ep.c
+++ b/source3/librpc/rpc/dcerpc_ep.c
@@ -100,7 +100,8 @@ static NTSTATUS ep_register(TALLOC_CTX *mem_ctx,
0,
&local);
if (rc < 0) {
- return NT_STATUS_NO_MEMORY;
+ status = NT_STATUS_NO_MEMORY;
+ goto done;
}
status = rpcint_binding_handle(tmp_ctx,