intel: Add a null pointer check before dereferencing the pointer
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 16 Apr 2013 17:34:43 +0000 (10:34 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 17 Apr 2013 15:17:47 +0000 (08:17 -0700)
commit484b89ace99cb34719ff79c6aab1658bb8f3dc79
treec24d84c349a74a21eba82cf4fe8fe37acbd78075
parentb03f6de63b05a3064d6d33e3c0a429ca97ba2be8
intel: Add a null pointer check before dereferencing the pointer

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/intel/intel_screen.c