mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
winbind: Fix Coverity ID 1398910
Coverity isn't smart enough for talloc Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
0bc329a343
commit
bc0df4fd97
@ -449,6 +449,8 @@ static NTSTATUS query_user_list(struct winbindd_domain *domain,
|
||||
rids = talloc_realloc(mem_ctx, rids, uint32_t, count);
|
||||
if (prids != NULL) {
|
||||
*prids = rids;
|
||||
} else {
|
||||
TALLOC_FREE(rids);
|
||||
}
|
||||
|
||||
status = NT_STATUS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user