glx: Don't refer to the request buffer outside of {L,Unl}ockDisplay
authorAdam Jackson <ajax@redhat.com>
Wed, 25 May 2011 10:11:20 +0000 (06:11 -0400)
committerAdam Jackson <ajax@redhat.com>
Wed, 25 May 2011 10:19:29 +0000 (06:19 -0400)
commita95ec18549b677b5e9912ca9e2c92df5cfef3b4e
tree236db9e4bcd7fe2c8b83d13ad69addf2e9b89d12
parentc44dad559af88c40bb8e626fe293319966d14394
glx: Don't refer to the request buffer outside of {L,Unl}ockDisplay

... because that's not a safe thing to do.  The request buffer is shared
storage among all threads, and after UnlockDisplay the 'req' pointer may
point into someone else's request.

NOTE: This is a candidate for the 7.10 branch.

Signed-off-by: Adam Jackson <ajax@redhat.com>
src/glx/glx_pbuffer.c