]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:rpc_client: add missing TALLOC_FREE(frame) in cli_rpc_pipe_open()
authorStefan Metzmacher <metze@samba.org>
Fri, 27 Sep 2024 10:00:59 +0000 (12:00 +0200)
committerJule Anger <janger@samba.org>
Thu, 12 Jun 2025 11:27:15 +0000 (11:27 +0000)
This was missing in commit 637a8e5270fefaea5c61921d4b6ecfc4455a91aa.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit c3222192a40a2b1608c9c48f0352cb6f18f26d79)

source3/rpc_client/cli_pipe.c

index e231d5875a52462344ba3d67c3e7fdb30871523b..d512dde386f6e11f41828a5eafef9a4988767734 100644 (file)
@@ -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;
                }