diff options
author | Gregor Beck <gbeck@sernet.de> | 2013-11-01 08:54:27 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-11-04 10:38:50 +0100 |
commit | 412af28e1e7bb6939b0c6c7fddbc3e992fad4ca1 (patch) | |
tree | aa11927ace9a78e934a1f6111253faafce16fe26 /source3 | |
parent | d4a5c832f1806a9c664d52a34ea1a24eb370fa89 (diff) | |
download | samba-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.c | 3 |
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 */ |