In this bit of code point_five can be NULL if the expression is not a constant. This fixes it to match the pattern of the rest of the chunk of code so that it checks for NULLs.
Cc: Matt Turner Cc: "10.6"
86a3557 glsl: Make sure not to dereference NULL
src/glsl/opt_algebraic.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Upstream: cgit.freedesktop.org