From: Stefan Metzmacher Date: Fri, 27 Sep 2024 10:00:59 +0000 (+0200) Subject: s3:rpc_client: add missing TALLOC_FREE(frame) in cli_rpc_pipe_open() X-Git-Tag: samba-4.21.7~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e568b1193400fa8b2923c01d918882041c3e12ac;p=thirdparty%2Fsamba.git s3:rpc_client: add missing TALLOC_FREE(frame) in cli_rpc_pipe_open() This was missing in commit 637a8e5270fefaea5c61921d4b6ecfc4455a91aa. Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke (cherry picked from commit c3222192a40a2b1608c9c48f0352cb6f18f26d79) --- diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index e231d5875a5..d512dde386f 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -3983,6 +3983,7 @@ static NTSTATUS cli_rpc_pipe_open(struct cli_state *cli, table, &port); if (!NT_STATUS_IS_OK(status)) { + TALLOC_FREE(frame); return status; }