mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
r21853: Fix a valgrind error
This commit is contained in:
parent
ff886436b7
commit
d0d16cc55a
@ -414,6 +414,11 @@ static BOOL wb_lookup_rids(TALLOC_CTX *mem_ctx,
|
||||
return True;
|
||||
}
|
||||
|
||||
if (!(*domain_name = talloc_strdup(mem_ctx, *domain_name))) {
|
||||
TALLOC_FREE(tmp_ctx);
|
||||
return False;
|
||||
}
|
||||
|
||||
/*
|
||||
* winbind_lookup_rids allocates its own array. We've been given the
|
||||
* array, so copy it over
|
||||
|
Loading…
Reference in New Issue
Block a user