rpc_server3: Fix a memleak for internal pipes
authorVolker Lendecke <vl@samba.org>
Tue, 23 Mar 2021 16:06:15 +0000 (17:06 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Apr 2021 11:27:17 +0000 (11:27 +0000)
commit3644afc38c726a19f39f1d4f96badfb7827fb1a4
tree85ef5d7b61a3cd94307f74d11a82f6ba2e2e839d
parent85b5657cbd685968045fcaad2e7d3323b902edc9
rpc_server3: Fix a memleak for internal pipes

state->call should not be talloc'ed off a long-lived context

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14675
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1861
RN: Memory leak in the RPC server

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Mar 31 12:14:01 UTC 2021 on sn-devel-184

(cherry picked from commit 12f516e4680753460e7fe8811e6c6ff70057580c)
source3/rpc_server/rpc_ncacn_np.c