1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

rpc_client: Early TALLOC_FREE() in prepare_verification_trailer()

We don't need "t" from here on anymore

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2021-08-17 07:49:27 +02:00 committed by Jeremy Allison
parent 3e3cc4eae9
commit b0c065773e

View File

@ -1471,6 +1471,7 @@ static NTSTATUS prepare_verification_trailer(struct rpc_api_pipe_req_state *stat
ndr_err = ndr_push_dcerpc_sec_verification_trailer(ndr,
NDR_SCALARS | NDR_BUFFERS,
t);
TALLOC_FREE(t);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
return ndr_map_error2ntstatus(ndr_err);
}