s3:rpc_server: let create_policy_hnd() return a pointer
authorStefan Metzmacher <metze@samba.org>
Sun, 13 Aug 2023 11:34:30 +0000 (13:34 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 17 Oct 2023 19:20:38 +0000 (19:20 +0000)
commitac392c35e4993e1f4bd25519c607a00508e57de4
tree3cfdef4e5cb63e743fa49b2de582c4b57fb81dc4
parent403bceef914d6793a7f5ec4432445f043919c277
s3:rpc_server: let create_policy_hnd() return a pointer

This allows a TALLOC_FREE() on it to unregister and destroy the
handle easily.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_server/rpc_handles.c
source3/rpc_server/rpc_pipes.h