mesa: Reads must also be done with lock held.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 6 Mar 2009 14:02:42 +0000 (14:02 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 6 Mar 2009 14:03:04 +0000 (14:03 +0000)
commit8bbb6b352ad7fabb2cc5ec4b82244d39495e80ac
tree2a83dab83e9278a712d8ab118ec60bfb34a918d5
parentf6159ba4d5da9579de55afb01b4f460f9b8a0327
mesa: Reads must also be done with lock held.

Otherwise two threads might think each made the refcount go zero.
src/mesa/main/context.c