iris: Fix Null pointer dereferences
authorSergii Melikhov <sergii.v.melikhov@globallogic.com>
Mon, 2 Aug 2021 12:15:34 +0000 (15:15 +0300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 4 Aug 2021 07:52:35 +0000 (07:52 +0000)
commitd16b9b27b0f2fdc3416b4c50c16711c5eec063b2
tree4420cfc4ce0b3ec325094d9cf076310b8b3fc56b
parent6751d832c5a3fd437216361a1a55f1fa1d0aed9b
iris: Fix Null pointer dereferences

Fix the error from Coverity report: CID 1489765

Signed-off-by: Sergii Melikhov <sergii.v.melikhov@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12179>
src/gallium/drivers/iris/iris_program.c