1
0
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:
Volker Lendecke 2023-11-15 14:48:20 +01:00 committed by Jeremy Allison
parent 0bc329a343
commit bc0df4fd97

View File

@ -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;