mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r24713: Fix obvious error in enum_dom_groups. We were returning NT_STATUS_OK when the realloc failed.
Guenther
This commit is contained in:
parent
5187157607
commit
750b52cb47
@ -172,8 +172,7 @@ static NTSTATUS enum_dom_groups(struct winbindd_domain *domain,
|
||||
(*num_entries) + count);
|
||||
if (! *info) {
|
||||
talloc_destroy(mem_ctx2);
|
||||
status = NT_STATUS_NO_MEMORY;
|
||||
break;
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
memcpy(&(*info)[*num_entries], info2, count*sizeof(*info2));
|
||||
|
Loading…
Reference in New Issue
Block a user