glx: Don't segfault if xcb_glx_is_direct_reply returns NULL
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 7 Dec 2011 01:15:26 +0000 (17:15 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 19 Dec 2011 22:55:30 +0000 (14:55 -0800)
commit7c2f1160c23970929a2846d210357447d07ff5f0
tree5f855b519cd48397d12ea8aa99d51dba367ef54a
parentc4a8c54c3bb31547cba57702ffea99293afef522
glx: Don't segfault if xcb_glx_is_direct_reply returns NULL

NOTE: This is a candidate for the 7.11 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glx/glxcmds.c