Skip to content

freedreno: Move rsc NULL check to before rsc dereferences.

Vinson Lee requested to merge vlee/mesa:fix-cid-1456037 into master

Fix defect reported by Coverity Scan.

Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking rsc suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

Fixes: 6173cc19 ("freedreno: gallium driver for adreno") Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @robclark

Merge request reports

Loading