]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
rpc_client: Fix a small memleak
authorVolker Lendecke <vl@samba.org>
Tue, 3 Aug 2021 07:09:28 +0000 (09:09 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 24 Aug 2021 17:32:28 +0000 (17:32 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/rpc_client/cli_pipe.c

index 66c24e0dbd82d6dd1291db20c50f4f5116ab7f06..6f22cff0d66e8c93bedda615e3fa10304bd5269a 100644 (file)
@@ -1266,6 +1266,8 @@ static NTSTATUS create_rpc_bind_req(TALLOC_CTX *mem_ctx,
                                              &auth_info,
                                              auth->client_hdr_signing,
                                              rpc_out);
+       data_blob_free(&auth_info);
+
        return ret;
 }