1
0
mirror of https://github.com/samba-team/samba.git synced 2025-05-28 21:05:48 +03:00

Fix valgrind errors in DeleteDomainGroup and DeleteDomAlias

This commit is contained in:
Volker Lendecke 2009-07-26 22:04:59 +02:00
parent 1a6aaee050
commit fb03bbfa09

View File

@ -5747,11 +5747,11 @@ NTSTATUS _samr_DeleteDomainGroup(pipes_struct *p,
return status;
}
force_flush_samr_cache(&ginfo->sid);
if (!close_policy_hnd(p, r->in.group_handle))
return NT_STATUS_OBJECT_NAME_INVALID;
force_flush_samr_cache(&ginfo->sid);
return NT_STATUS_OK;
}
@ -5799,11 +5799,11 @@ NTSTATUS _samr_DeleteDomAlias(pipes_struct *p,
if ( !NT_STATUS_IS_OK(status))
return status;
force_flush_samr_cache(&ainfo->sid);
if (!close_policy_hnd(p, r->in.alias_handle))
return NT_STATUS_OBJECT_NAME_INVALID;
force_flush_samr_cache(&ainfo->sid);
return NT_STATUS_OK;
}