summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2013-11-01 08:54:27 +0100
committerAndreas Schneider <asn@samba.org>2013-11-04 10:38:50 +0100
commit412af28e1e7bb6939b0c6c7fddbc3e992fad4ca1 (patch)
treeaa11927ace9a78e934a1f6111253faafce16fe26 /source3
parentd4a5c832f1806a9c664d52a34ea1a24eb370fa89 (diff)
downloadsamba-412af28e1e7bb6939b0c6c7fddbc3e992fad4ca1.tar.gz
samba-412af28e1e7bb6939b0c6c7fddbc3e992fad4ca1.tar.xz
samba-412af28e1e7bb6939b0c6c7fddbc3e992fad4ca1.zip
s3:rpc_client: fix a leaked talloc_stackframe
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10241 Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 48ed92ce50..13423540ec 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2301,7 +2301,8 @@ static NTSTATUS rpc_pipe_get_tcp_port(const char *host,
if (ndr_syntax_id_equal(&table->syntax_id,
&ndr_table_epmapper.syntax_id)) {
*pport = 135;
- return NT_STATUS_OK;
+ status = NT_STATUS_OK;
+ goto done;
}
/* open the connection to the endpoint mapper */