mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Attempt to fix Coverity ID 596
Jeremy, please check & push if it's ok.
This commit is contained in:
parent
31ca7b2dbb
commit
f06070c188
@ -217,7 +217,7 @@ static NTSTATUS rids_to_names(struct winbindd_domain *domain,
|
||||
(*names)[i] = CONST_DISCARD(char *, nam);
|
||||
}
|
||||
|
||||
if (domain_name == NULL) {
|
||||
if (*domain_name == NULL) {
|
||||
*domain_name = CONST_DISCARD(char *, dom);
|
||||
} else {
|
||||
char *dname = CONST_DISCARD(char *, dom);
|
||||
|
Loading…
Reference in New Issue
Block a user