glsl: Add null check in loop_analysis.cpp
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Thu, 3 Apr 2014 13:51:14 +0000 (16:51 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 30 May 2014 04:21:12 +0000 (07:21 +0300)
commit19f1d137f8d5edbbdef4e78186b21a7a5bd08d18
treebda813e8ff5eb214f07a1cce089a96507858c01d
parent77a00c71bb3ecaafc9ceec035937c02e75a505b6
glsl: Add null check in loop_analysis.cpp

Check return value from hash_table_find before using it as a pointer

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/loop_analysis.cpp