mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
s4:rpc_server: make use of dcesrv_assoc_group_common_destructor()
Currently this should not be needed, but it's better to call dcesrv_assoc_group_common_destructor() in all assoc_group destructors. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15765 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Dec 12 07:22:29 UTC 2024 on atb-devel-224
This commit is contained in:
parent
627a785784
commit
19657be71d
@ -75,6 +75,9 @@ static struct dcesrv_assoc_group *dcesrv_assoc_group_reference(struct dcesrv_con
|
||||
static int dcesrv_assoc_group_destructor(struct dcesrv_assoc_group *assoc_group)
|
||||
{
|
||||
int ret;
|
||||
|
||||
dcesrv_assoc_group_common_destructor(assoc_group);
|
||||
|
||||
ret = idr_remove(assoc_group->dce_ctx->assoc_groups_idr, assoc_group->id);
|
||||
if (ret != 0) {
|
||||
DEBUG(0,(__location__ ": Failed to remove assoc_group 0x%08x\n",
|
||||
|
Loading…
Reference in New Issue
Block a user