s3:utils: Use goto to close the policy in rpc_rights_grant_internal()
commit28e7a754c8d0d49729f6a85bdbfc02b1a7a023f5
authorAndreas Schneider <asn@samba.org>
Thu, 2 Nov 2023 07:30:36 +0000 (2 08:30 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 21 Nov 2023 11:16:37 +0000 (21 11:16 +0000)
tree5671910e843733ccd42d77f74acce444c69ec58f
parente5abb584b64c9e82ad73c0303c749688f306c455
s3:utils: Use goto to close the policy in rpc_rights_grant_internal()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/utils/net_rpc_rights.c