mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:winbind:idmap_tdb2_set_mapping: untangle assignment from check
This commit is contained in:
parent
2c61c93a51
commit
612a333d65
@ -906,7 +906,8 @@ static NTSTATUS idmap_tdb2_set_mapping(struct idmap_domain *dom, const struct id
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (!(ksidstr = sid_string_talloc(ctx, map->sid))) {
|
||||
ksidstr = sid_string_talloc(ctx, map->sid);
|
||||
if (ksidstr == NULL) {
|
||||
DEBUG(0, ("Out of memory!\n"));
|
||||
ret = NT_STATUS_NO_MEMORY;
|
||||
goto done;
|
||||
|
Loading…
Reference in New Issue
Block a user