spools: avoid leaking memory into the callers mem_ctx
authorRalph Boehme <slow@samba.org>
Mon, 22 Mar 2021 11:06:39 +0000 (12:06 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 31 Mar 2021 11:11:31 +0000 (11:11 +0000)
commit481176ec745c14b78fca68e01a61c83405a4b97b
tree3b77a743e25cc55b84c12c34beaac739b71c380a
parent4c3fb2a5912966a61e7ebdb05eb3231a0e1d6033
spools: avoid leaking memory into the callers mem_ctx

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14675
CI: https://gitlab.com/samba-team/samba/-/merge_requests/1861

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/rpc_server/spoolss/srv_spoolss_nt.c